This is the mail archive of the java-patches@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: Patch: POSIX update for glibc 2.1


>>>>> "Matt" == Matt Welsh <mdw@cs.berkeley.edu> writes:

Matt> The correct check is 
Matt> 	((pmu->__m_owner == pthread_self()) && (pmu->__m_count == 0))

Duh, I did it wrong.
Actually we don't have to check __m_owner, since we know the mutex
will be held.  We just have to check __m_count==0.
Patch to follow.

Tom

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