robust pthread mutexes too?
robust pthread mutexes too?
Posted Feb 16, 2006 21:47 UTC (Thu) by cdarroch (subscriber, #26812)In reply to: A bit like the VDSO in reverse: by mingo
Parent article: Robust futexes - a new approach
Would this allow for the development of functions similar to those found in Solaris, namely pthread_mutexattr_getrobust_np(), pthread_mutexattr_setrobust_np(), and pthread_mutex_consistent_np()? (The "_np" is for non-portable, if I remember correctly.)
Posted Feb 16, 2006 22:51 UTC (Thu)
by mingo (guest, #31122)
[Link]
Correct - these APIs are being standardized by POSIX, and this patchset aims at enabling them. Ulrich Drepper (glibc's maintainer) has already written the necessary glibc modifications to enable robust pthread_mutex_t mutexes, so once the new syscalls are accepted by the upstream kernel, glibc support should follow soon.robust pthread mutexes too?