summary refs log tree commit diff
path: root/support/xthread.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-01-27 06:53:19 +0100
committerFlorian Weimer <fweimer@redhat.com>2017-01-27 06:53:20 +0100
commitfaf0e9c84119742dd9ebb79060faa22c52ae80a1 (patch)
treeaaf2df0e207bde2a4dfe6c9623e013364642a076 /support/xthread.h
parent5653ab12b4ae15b32d41de7c56b2a4626cd0437a (diff)
downloadglibc-faf0e9c84119742dd9ebb79060faa22c52ae80a1.tar.gz
glibc-faf0e9c84119742dd9ebb79060faa22c52ae80a1.tar.xz
glibc-faf0e9c84119742dd9ebb79060faa22c52ae80a1.zip
nptl: Add tst-robust-fork
Diffstat (limited to 'support/xthread.h')
-rw-r--r--support/xthread.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/support/xthread.h b/support/xthread.h
index e5c896b053..0eb54fd85a 100644
--- a/support/xthread.h
+++ b/support/xthread.h
@@ -41,8 +41,17 @@ void xpthread_check_return (const char *function, int value);
 void xpthread_barrier_init (pthread_barrier_t *barrier,
                             pthread_barrierattr_t *attr, unsigned int count);
 void xpthread_barrier_destroy (pthread_barrier_t *barrier);
+void xpthread_mutexattr_destroy (pthread_mutexattr_t *);
+void xpthread_mutexattr_init (pthread_mutexattr_t *);
+void xpthread_mutexattr_setprotocol (pthread_mutexattr_t *, int);
+void xpthread_mutexattr_setpshared (pthread_mutexattr_t *, int);
+void xpthread_mutexattr_setrobust (pthread_mutexattr_t *, int);
+void xpthread_mutexattr_settype (pthread_mutexattr_t *, int);
+void xpthread_mutex_init (pthread_mutex_t *, const pthread_mutexattr_t *);
+void xpthread_mutex_destroy (pthread_mutex_t *);
 void xpthread_mutex_lock (pthread_mutex_t *mutex);
 void xpthread_mutex_unlock (pthread_mutex_t *mutex);
+void xpthread_mutex_consistent (pthread_mutex_t *);
 void xpthread_spin_lock (pthread_spinlock_t *lock);
 void xpthread_spin_unlock (pthread_spinlock_t *lock);
 void xpthread_cond_wait (pthread_cond_t * cond, pthread_mutex_t * mutex);