E
E
Eugene Shustry2018-05-08 10:48:50
Java
Eugene Shustry, 2018-05-08 10:48:50

What application to write to demonstrate the operation of synchronization?

Hey! I would like to know how it would be better to write an application that demonstrates how synchronization works?
I thought about making a program that would write to two streams in different files and I don’t understand how to synchronize them with each other?
Apply a hash and compare them on each of the write operations?
Or maybe choose a different concept of the application altogether?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Cheremisin, 2018-05-08
@leahch

Read here - https://tproger.ru/translations/java8-concurrency-...

A
Armenian Radio, 2018-05-08
@gbg

Read a textbook on the basics of system programming, at least the same Pobegailo.
1.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question