summaryrefslogtreecommitdiff
path: root/support/xthread.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-05-29 10:48:46 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-05-29 15:37:00 +0200
commit0ce2fa6973810b2b99c85f446f79c505cfbf5652 (patch)
tree34769cf61e265e7dd5b8245c348152fced53b09e /support/xthread.h
parent7f7b5d8ded77db90c1fbfeaaeb3d58b6db84da47 (diff)
support: Add wrappers for pthread_barrierattr_t
Diffstat (limited to 'support/xthread.h')
-rw-r--r--support/xthread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/support/xthread.h b/support/xthread.h
index 79358e7c99..623f5ad0ac 100644
--- a/support/xthread.h
+++ b/support/xthread.h
@@ -41,6 +41,9 @@ 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_barrierattr_destroy (pthread_barrierattr_t *);
+void xpthread_barrierattr_init (pthread_barrierattr_t *);
+void xpthread_barrierattr_setpshared (pthread_barrierattr_t *, int pshared);
void xpthread_mutexattr_destroy (pthread_mutexattr_t *);
void xpthread_mutexattr_init (pthread_mutexattr_t *);
void xpthread_mutexattr_setprotocol (pthread_mutexattr_t *, int);