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.
This commit is contained in:
parent
18c7ea8055
commit
047e434ef5
10 changed files with 84 additions and 10 deletions
|
|
@ -92,6 +92,7 @@ int pthread_mutex_unlock(pthread_mutex_t *);
|
|||
int pthread_mutex_trylock(pthread_mutex_t *);
|
||||
int pthread_mutex_timedlock(pthread_mutex_t *, const struct timespec *);
|
||||
int pthread_mutex_destroy(pthread_mutex_t *);
|
||||
int pthread_mutex_consistent(pthread_mutex_t *);
|
||||
|
||||
int pthread_cond_init(pthread_cond_t *, const pthread_condattr_t *);
|
||||
int pthread_cond_destroy(pthread_cond_t *);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue