implement robust mutexes
[musl] / include / pthread.h
index a47406a..e15f25b 100644 (file)
@@ -5,6 +5,7 @@ extern "C" {
 #endif
 
 #define __NEED_time_t
+#define __NEED_clockid_t
 #define __NEED_struct_timespec
 #define __NEED_sigset_t
 #define __NEED_pthread_t
@@ -91,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 *);