about summary refs log tree commit diff
path: root/conform/data/threads.h-data
diff options
context:
space:
mode:
Diffstat (limited to 'conform/data/threads.h-data')
-rw-r--r--conform/data/threads.h-data5
1 files changed, 5 insertions, 0 deletions
diff --git a/conform/data/threads.h-data b/conform/data/threads.h-data
index bb5ca75524..70b2fe03ca 100644
--- a/conform/data/threads.h-data
+++ b/conform/data/threads.h-data
@@ -1,5 +1,7 @@
 #if defined ISO11
 
+macro ONCE_FLAG_INIT
+
 constant thrd_success
 constant thrd_busy
 constant thrd_error
@@ -13,6 +15,7 @@ constant mtx_timed
 type thrd_t
 type thrd_start_t
 type mtx_t
+type once_flag
 
 function int thrd_create (thrd_t*, thrd_start_t, void*)
 function int thrd_equal (thrd_t, thrd_t)
@@ -30,6 +33,8 @@ function int mtx_trylock (mtx_t*)
 function int mtx_unlock (mtx_t*)
 function void mtx_destroy (mtx_t*)
 
+function void call_once (once_flag*, void (*)(void))
+
 #include "time.h-data"
 
 #endif