+ 1

Thread

Who can show me the example with threads in java when one thread waits until another thread executed(with join or wait or smth). Thank you!

13th Apr 2018, 8:47 PM
gogamid
2 Answers
+ 6
Disqus.com
14th Apr 2018, 1:58 AM
BroFar
BroFar - avatar
+ 1
Synchronous threads, rather than asynchronous then? Here's a tutorial for this, with live demos: https://www.tutorialspoint.com/java/java_thread_synchronization.htm
14th Apr 2018, 1:50 AM
Emma