I
Ian Semmel
public void run ()
{
this.taskQ = new LinkedBlockingQueue<Object> ();
try
{
taskQ.wait ();
}
catch ( InterruptedException ie )
{
System.out.println ( ie.getMessage () );
System.exit ( 255 );
}
}
Exception is "java.lang.IllegalMonitorStateException: current thread not owner" on the wait()
Seeing as how I just created the Q, what thread is the owner ?
PS I don't know much about java.
{
this.taskQ = new LinkedBlockingQueue<Object> ();
try
{
taskQ.wait ();
}
catch ( InterruptedException ie )
{
System.out.println ( ie.getMessage () );
System.exit ( 255 );
}
}
Exception is "java.lang.IllegalMonitorStateException: current thread not owner" on the wait()
Seeing as how I just created the Q, what thread is the owner ?
PS I don't know much about java.