implement robust mutexes
authorRich Felker <dalias@aerifal.cx>
Fri, 18 Mar 2011 00:41:37 +0000 (20:41 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 18 Mar 2011 00:41:37 +0000 (20:41 -0400)
commit047e434ef5fd5437a74f98f63c40a77a683f7f3f
tree30102ca55dc34c2b5ec078e3b3ab7891abcccb5f
parent18c7ea8055cf733f168d2c74d7cc8523a360f5f1
implement robust mutexes

some of this code should be cleaned up, e.g. using macros for some of
the bit flags, masks, etc. nonetheless, the code is believed to be
working and correct at this point.
include/pthread.h
src/internal/pthread_impl.h
src/thread/pthread_mutex_consistent.c [new file with mode: 0644]
src/thread/pthread_mutex_init.c
src/thread/pthread_mutex_lock.c
src/thread/pthread_mutex_timedlock.c
src/thread/pthread_mutex_trylock.c
src/thread/pthread_mutex_unlock.c
src/thread/pthread_mutexattr_getrobust.c [new file with mode: 0644]
src/thread/pthread_mutexattr_setrobust.c [new file with mode: 0644]