[Q] can't build libgcj on Solaris 2.6
Tom Tromey
tromey@cygnus.com
Fri Dec 10 08:28:00 GMT 1999
>> The initial patch was just wrong. I checked in a fixed version. Can
>> you try it? I don't remember if Solaris has recursive mutexes or not.
>> Does it?
Joerg> Unfortunately the patch doesn't fix my wait/nofify problem.
Joerg> I looked into Solaris Answerbook and it seems that Solaris does
Joerg> indeed have recursive mutexes.
Then the patch won't affect you.
Joerg> The problem still remains that "pthread_cond_waiting"-threads
Joerg> aren't awakened when they are notified. I checked if one return
Joerg> value of either _Jv_PthreadCheckMonitor or pthread_cond_signal
Joerg> in _Jv_CondNotify is an error code, but they are both ok. Can
Joerg> someone give me a hint where I can continue debugging?
Not really. Make sure the threads agree about which mutex & cond var
is in use. Maybe there is some confusion there.
T
More information about the Java
mailing list