This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix bug in x86-64 pthread_cond_wait


> The patch is correct but your description is not.  No correct program
> can ever hit that code.  The mutex unlocking has to fail and this is not
> possible unless the programmer makes a bad mistake.
That's what I meant by not manipulating the condition variable with the
mutex locked.



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