CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2012/04/14 06:07:49
Modified files:
lib/libpthread/include: pthread.h
lib/librthread : rthread_sync.c
Log message:
Add new mutex type, PTHREAD_MUTEX_STRICT_NP which checks for application
errors similar to PTHREAD_MUTEX_ERRORCHECK, however upon error it aborts.
The rational is that many applications don't check the return values on
pthread functions and will miss the errors that ERRORCHECK returns.
PTHREAD_MUTEX_STRICT_NP will be our default mutex type for awhile
okay guenther@ dcoppa@