April 2017
Intermediate to advanced
594 pages
25h 15m
English
When you execute this example, 10 threads start their execution, but only one enters in the critical section, which gets implemented in the run() method. As every task reads a line from the console before releasing the lock, all the applications will be blocked until you introduce text in the console.
Read now
Unlock full access