aboutsummaryrefslogtreecommitdiff
path: root/support/xthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/xthread.h')
-rw-r--r--support/xthread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/xthread.h b/support/xthread.h
index f0dc0fa613..375d882157 100644
--- a/support/xthread.h
+++ b/support/xthread.h
@@ -51,6 +51,7 @@ pthread_t xpthread_create (pthread_attr_t *attr,
void xpthread_detach (pthread_t thr);
void xpthread_cancel (pthread_t thr);
void *xpthread_join (pthread_t thr);
+void xpthread_once (pthread_once_t *guard, void (*func) (void));
/* This function returns non-zero if pthread_barrier_wait returned
PTHREAD_BARRIER_SERIAL_THREAD. */