Hi Ranchers,
The following question is from K&B book page 738,
Assume the following method is properly synchronized and called from a
thread A on an object B wait(2000);
After calling this method, when will the thread A become a candidate to get another turn at the CPU?
Can anyone help me realize the above through code and I'm little bit scary at the bold portion above. If I can get an explanation in the form of a code that will really help me understand synchronization concept to its depth. Ranchers, please help me...
Thanks in advance for the help.