Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libpthread



Module Name:    src
Committed By:   ad
Date:           Thu Apr 12 21:36:06 UTC 2007

Modified Files:
        src/lib/libpthread: pthread_cond.c pthread_int.h

Log Message:
Mirror a fix made to the kernel's condvars:

After resuming execution, the thread must check to see if it
has been restarted as a result of pthread_cond_signal().  If it
has, but cannot take the wakeup (because of eg a pending Unix
signal or timeout) then try to ensure that another thread sees
it.  This is necessary because there may be multiple waiters,
and at least one should take the wakeup if possible.


To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 src/lib/libpthread/pthread_cond.c
cvs rdiff -r1.41 -r1.42 src/lib/libpthread/pthread_int.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index