Hi Kevin
synchronized void doSomething(Object x)
{
if(x.doThis()!=this.doThat())
{
try
{
wait();
}
Type: Posts; User: Deekybhoy
Hi Kevin
synchronized void doSomething(Object x)
{
if(x.doThis()!=this.doThat())
{
try
{
wait();
}
Hi
Hoping someone can help with this
Scenario : I have threaded objects on a wait method when the condition becomes true 3 threads are active.
I want to let 2 or less through my condition...