diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-07-14 09:42:15 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-07-14 09:42:15 +0000 |
commit | 4866e86cb116499c04d6ca2e381d883867879a55 (patch) | |
tree | 3269eeed84deb9dea819defe63a935d42b1d2feb /newlib/libc/string/strerror.c | |
parent | 87375c75b377633e93e1555b5f05c43f8d767a30 (diff) | |
download | cygnal-4866e86cb116499c04d6ca2e381d883867879a55.tar.gz cygnal-4866e86cb116499c04d6ca2e381d883867879a55.tar.bz2 cygnal-4866e86cb116499c04d6ca2e381d883867879a55.zip |
* thread.cc (pthread_mutex::pthread_mutex): Change default type
to PTHREAD_MUTEX_NORMAL.
(pthread_mutex::unlock): Return EPERM if the mutex has no owner and
the mutex type is PTHREAD_MUTEX_ERRORCHECK, as on Linux.
(pthread_mutexattr::pthread_mutexattr): Ditto.
(pthread_mutex_unlock): Do not fail if mutex is a normal mutex
initializer.
* include/pthread.h (PTHREAD_MUTEX_INITIALIZER): Redefine as
PTHREAD_NORMAL_MUTEX_INITIALIZER_NP.
Diffstat (limited to 'newlib/libc/string/strerror.c')
0 files changed, 0 insertions, 0 deletions