summaryrefslogtreecommitdiff
path: root/libpthread/sysdeps/generic/bits/semaphore.h
diff options
context:
space:
mode:
authorneal <neal>2008-06-01 20:25:35 +0000
committerneal <neal>2008-06-01 20:25:35 +0000
commitae6ed18f439c84efde973e77377f50ba2481da53 (patch)
treebf18542383b06d23a0e80de0d198b791c5fd387c /libpthread/sysdeps/generic/bits/semaphore.h
parentc46c251590e9d1931805cba8ae86d80368aecf68 (diff)
2008-06-01 Neal H. Walfield <neal@gnu.org>
* include/pthread/pthread.h (PTHREAD_MUTEX_RECURSIVE_INITIALIZER_NP): New definition. * sysdeps/generic/bits/mutex.h (__PTHREAD_MUTEX_RECURSIVE_INITIALIZER): New definition. * sysdeps/generic/bits/mutex-attr.h (__pthread_recursive_mutexattr): New definition. * sysdeps/generic/pt-mutexattr.c (__pthread_recursive_mutexattr): New declaration. * sysdeps/generic/pt-mutex-init.c (_pthread_mutex_init): If ATTR is &__PTHREAD_RECURSIVE_MUTEXATTR, don't allocate a copy, just save in MUTEX->ATTR. * sysdeps/generic/pt-mutex-destroy.c (_pthread_mutex_destroy): If MUTEX->ATTR is &__PTHREAD_RECURSIVE_MUTEXATTR, don't free it.
Diffstat (limited to 'libpthread/sysdeps/generic/bits/semaphore.h')
0 files changed, 0 insertions, 0 deletions