Hi all,
I'm having problems with a section of code in a custom task that attempts to
stall execution for a period. My code uses
Thread.currentThread().wait(sometime);
but throws an IllegalMonitorStateException ("... a thread has attempted to
wait on an object's monitor ... without owning the specified monitor. ")
when the task executes.
What gives? Can I get round it?
thanks,
jim
- Re: Waiting in a task thread Jim Downing
- Re: Waiting in a task thread Peter Donald
- Re: Waiting in a task thread Jim Downing
