This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [Q] can't build libgcj on Solaris 2.6


>> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]