Use PTHREAD_MUTEX_DEFAULT in static init and mutexattr_init. If the default mutex type changes to NORMAL, when there is an uninitialized mutex provided to unlock, allow it to succeed similar to an un
Use PTHREAD_MUTEX_DEFAULT in static init and mutexattr_init. If the default mutex type changes to NORMAL, when there is an uninitialized mutex provided to unlock, allow it to succeed similar to an unlocked mutex. For other cases abort instead of segfault. okay guenther@
show more ...
|