Re: Help on JVM hang
Joseph Shraibman <[email protected]> Thu, 24 Jun 2004 16:02:57 -0400
| Newsgroups | gmane.comp.java.linux.general |
|---|---|
| Message-ID | <[email protected]> |
Hui Huang wrote:
> It looks like the same issue. IIRC, the problem happened when one
> thread sleeps on pthread_cond_wait, and another thread in
> pthread_cond_{signal,broadcast} to wake up the first thread,
> sometimes kernel failed to change the first thread back to running.
>
So how can I encourage this condition? Will synchronize()ing on an
Object do it?
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]