CVSROOT: /cvs Module name: src Changes by: [email protected] 2012/03/03 03:02:26
Modified files:
lib/libpthread/include: semaphore.h
lib/librthread : rthread.c rthread.h rthread_sem.c
Log message:
Add sem_timewait() and fix sem_wait()'s handling of signals, so
that it resumes waiting unless the thread was canceled. As part
of this, change the internal _sem_wait() function to return zero
on success and an errno value on failure instead of 1 on success
and zero on failure.
