summaryrefslogtreecommitdiff
path: root/src/threads
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads')
-rw-r--r--src/threads/call_once.c5
-rw-r--r--src/threads/cnd_broadcast.c5
-rw-r--r--src/threads/cnd_destroy.c5
-rw-r--r--src/threads/cnd_init.c5
-rw-r--r--src/threads/cnd_signal.c5
-rw-r--r--src/threads/cnd_timedwait.c5
-rw-r--r--src/threads/cnd_wait.c5
-rw-r--r--src/threads/mtx_destroy.c5
-rw-r--r--src/threads/mtx_init.c5
-rw-r--r--src/threads/mtx_lock.c5
-rw-r--r--src/threads/mtx_timedlock.c5
-rw-r--r--src/threads/mtx_trylock.c5
-rw-r--r--src/threads/mtx_unlock.c5
-rw-r--r--src/threads/once_flag.c5
-rw-r--r--src/threads/thrd_create.c5
-rw-r--r--src/threads/thrd_current.c5
-rw-r--r--src/threads/thrd_detach.c5
-rw-r--r--src/threads/thrd_equal.c5
-rw-r--r--src/threads/thrd_exit.c5
-rw-r--r--src/threads/thrd_join.c5
-rw-r--r--src/threads/thrd_sleep.c5
-rw-r--r--src/threads/thrd_yield.c5
-rw-r--r--src/threads/thread_local.c5
-rw-r--r--src/threads/tss_create.c5
-rw-r--r--src/threads/tss_delete.c5
-rw-r--r--src/threads/tss_get.c5
-rw-r--r--src/threads/tss_set.c5
27 files changed, 135 insertions, 0 deletions
diff --git a/src/threads/call_once.c b/src/threads/call_once.c
index 1f1a792c..a4418b85 100644
--- a/src/threads/call_once.c
+++ b/src/threads/call_once.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ void call_once(once_flag *flag, void (*func)(void))
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/cnd_broadcast.c b/src/threads/cnd_broadcast.c
index c8a66798..75fb529c 100644
--- a/src/threads/cnd_broadcast.c
+++ b/src/threads/cnd_broadcast.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ int cnd_broadcast(cnd_t *cond)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/cnd_destroy.c b/src/threads/cnd_destroy.c
index ca723dac..9153cab4 100644
--- a/src/threads/cnd_destroy.c
+++ b/src/threads/cnd_destroy.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ void cnd_destroy(cnd_t *cond)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/cnd_init.c b/src/threads/cnd_init.c
index 75142ac0..de1fda24 100644
--- a/src/threads/cnd_init.c
+++ b/src/threads/cnd_init.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
#include <errno.h>
@@ -21,3 +23,6 @@ int cnd_init(cnd_t *cond)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/cnd_signal.c b/src/threads/cnd_signal.c
index 8f652280..a23cd969 100644
--- a/src/threads/cnd_signal.c
+++ b/src/threads/cnd_signal.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ int cnd_signal(cnd_t *cond)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/cnd_timedwait.c b/src/threads/cnd_timedwait.c
index ebd822f0..0086f2c0 100644
--- a/src/threads/cnd_timedwait.c
+++ b/src/threads/cnd_timedwait.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
#include <errno.h>
@@ -21,3 +23,6 @@ int cnd_timedwait(cnd_t *restrict cond, mtx_t *restrict mtx, const struct timesp
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/cnd_wait.c b/src/threads/cnd_wait.c
index d488ca75..213b94ac 100644
--- a/src/threads/cnd_wait.c
+++ b/src/threads/cnd_wait.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ int cnd_wait(cnd_t *cond, mtx_t *mtx)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/mtx_destroy.c b/src/threads/mtx_destroy.c
index 376542be..4d8a54ce 100644
--- a/src/threads/mtx_destroy.c
+++ b/src/threads/mtx_destroy.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ void mtx_destroy(mtx_t *mtx)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/mtx_init.c b/src/threads/mtx_init.c
index f161a0a1..dbe58812 100644
--- a/src/threads/mtx_init.c
+++ b/src/threads/mtx_init.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
#include <errno.h>
@@ -17,3 +19,6 @@ int mtx_init(mtx_t *mtx, int type)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/mtx_lock.c b/src/threads/mtx_lock.c
index 79ca4756..fe1dfeb0 100644
--- a/src/threads/mtx_lock.c
+++ b/src/threads/mtx_lock.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ int mtx_lock(mtx_t *mtx)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/mtx_timedlock.c b/src/threads/mtx_timedlock.c
index 1a435024..77054eec 100644
--- a/src/threads/mtx_timedlock.c
+++ b/src/threads/mtx_timedlock.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
#include <errno.h>
@@ -21,3 +23,6 @@ int mtx_timedlock(mtx_t *restrict mtx, const struct timespec *restrict ts)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/mtx_trylock.c b/src/threads/mtx_trylock.c
index bef2a274..c11f8db5 100644
--- a/src/threads/mtx_trylock.c
+++ b/src/threads/mtx_trylock.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
#include <errno.h>
@@ -21,3 +23,6 @@ int mtx_trylock(mtx_t *mtx)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/mtx_unlock.c b/src/threads/mtx_unlock.c
index d7055077..e7fa8f30 100644
--- a/src/threads/mtx_unlock.c
+++ b/src/threads/mtx_unlock.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ int mtx_unlock(mtx_t *mtx)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/once_flag.c b/src/threads/once_flag.c
index 16b64509..7fee57a4 100644
--- a/src/threads/once_flag.c
+++ b/src/threads/once_flag.c
@@ -1,5 +1,10 @@
+#if 0
+
typedef /* same as pthread_once_t */ once_flag;
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/thrd_create.c b/src/threads/thrd_create.c
index 31c0fd4c..7e1a1552 100644
--- a/src/threads/thrd_create.c
+++ b/src/threads/thrd_create.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
#include <errno.h>
@@ -22,3 +24,6 @@ int thrd_create(thrd_t *thr, thrd_start_t func, void *arg)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/thrd_current.c b/src/threads/thrd_current.c
index 2f2ef860..92e3d3f3 100644
--- a/src/threads/thrd_current.c
+++ b/src/threads/thrd_current.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ thrd_t thrd_current(void)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/thrd_detach.c b/src/threads/thrd_detach.c
index b845369f..3aa1ee29 100644
--- a/src/threads/thrd_detach.c
+++ b/src/threads/thrd_detach.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ int thrd_detach(thrd_t thr)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/thrd_equal.c b/src/threads/thrd_equal.c
index 19f8e621..0bf5fc0b 100644
--- a/src/threads/thrd_equal.c
+++ b/src/threads/thrd_equal.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ int thrd_equal(thrd_t thr0, thrd_t thr1)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/thrd_exit.c b/src/threads/thrd_exit.c
index 0acdbcd8..1258bbf7 100644
--- a/src/threads/thrd_exit.c
+++ b/src/threads/thrd_exit.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ _Noreturn void thrd_exit(int res)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/thrd_join.c b/src/threads/thrd_join.c
index 5c401279..588062f5 100644
--- a/src/threads/thrd_join.c
+++ b/src/threads/thrd_join.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ int thrd_join(thrd_t thr, int *res)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/thrd_sleep.c b/src/threads/thrd_sleep.c
index 8c853d17..d4b78d9d 100644
--- a/src/threads/thrd_sleep.c
+++ b/src/threads/thrd_sleep.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <time.h>
@@ -9,3 +11,6 @@ int thrd_sleep(const struct timespec *duration, struct timespec *remaining)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/thrd_yield.c b/src/threads/thrd_yield.c
index 5a6b176c..0d2595ce 100644
--- a/src/threads/thrd_yield.c
+++ b/src/threads/thrd_yield.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <sched.h>
@@ -9,3 +11,6 @@ void thrd_yield(void)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/thread_local.c b/src/threads/thread_local.c
index 595bcb22..8014592b 100644
--- a/src/threads/thread_local.c
+++ b/src/threads/thread_local.c
@@ -1,5 +1,10 @@
+#if 0
+
#define thread_local _Thread_local
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/tss_create.c b/src/threads/tss_create.c
index 28219231..ff30995b 100644
--- a/src/threads/tss_create.c
+++ b/src/threads/tss_create.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ int tss_create(tss_t *key, tss_dtor_t dtor)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/tss_delete.c b/src/threads/tss_delete.c
index 23e6873a..eb527fd2 100644
--- a/src/threads/tss_delete.c
+++ b/src/threads/tss_delete.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ void tss_delete(tss_t key)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/tss_get.c b/src/threads/tss_get.c
index f3d44ad3..56e1c7ba 100644
--- a/src/threads/tss_get.c
+++ b/src/threads/tss_get.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ void *tss_get(tss_t key)
/*
STDC(201112)
*/
+
+
+#endif
diff --git a/src/threads/tss_set.c b/src/threads/tss_set.c
index 2314d417..17e8187a 100644
--- a/src/threads/tss_set.c
+++ b/src/threads/tss_set.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <threads.h>
#include <pthread.h>
@@ -9,3 +11,6 @@ int tss_set(tss_t key, void *val)
/*
STDC(201112)
*/
+
+
+#endif