Answer the question
In order to leave comments, you need to log in
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
Read here - https://tproger.ru/translations/java8-concurrency-...
Read a textbook on the basics of system programming, at least the same Pobegailo.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question