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:   nathanw
Date:           Thu Jun 24 22:18:11 UTC 2004

Modified Files:
        src/lib/libpthread: pthread_sleep.c

Log Message:
If the sleep sleeps for its full time and rmtp is non-NULL, clear it;
sleep(3) expects this, even though it's not a documented property of
nanosleep().

Fixes a problem where sleep() in a threaded program would return
nonzero even on success.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/lib/libpthread/pthread_sleep.c

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