pthreads: Add more robustness characteristics: pthread_mutex_lock() and...
pthreads: Add more robustness characteristics: pthread_mutex_lock() and trylock() will now return EOWNERDEAD if the mutex is locked by a thread that no longer exists. Add pthread_mutex_consistent() to recover from this situation.
Showing
- TODO 33 additions, 3 deletionsTODO
- include/pthread.h 5 additions, 1 deletioninclude/pthread.h
- sched/pthread/Make.defs 1 addition, 0 deletionssched/pthread/Make.defs
- sched/pthread/pthread_mutexconsistent.c 138 additions, 0 deletionssched/pthread/pthread_mutexconsistent.c
- sched/pthread/pthread_mutexdestroy.c 62 additions, 34 deletionssched/pthread/pthread_mutexdestroy.c
- sched/pthread/pthread_mutexlock.c 38 additions, 15 deletionssched/pthread/pthread_mutexlock.c
- sched/pthread/pthread_mutextrylock.c 54 additions, 24 deletionssched/pthread/pthread_mutextrylock.c
- sched/pthread/pthread_mutexunlock.c 6 additions, 9 deletionssched/pthread/pthread_mutexunlock.c
Loading
Please register or sign in to comment