summaryrefslogtreecommitdiff
path: root/src/thread/__wake.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/__wake.c')
-rw-r--r--src/thread/__wake.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/thread/__wake.c b/src/thread/__wake.c
deleted file mode 100644
index d8bf70f7..00000000
--- a/src/thread/__wake.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include "pthread_impl.h"
-#include <limits.h>
-
-void __wake(volatile int *addr, int cnt, int priv)
-{
- if (priv) priv = 128; priv=0;
- if (cnt<0) cnt = INT_MAX;
- __syscall(SYS_futex, (long)addr, FUTEX_WAKE | priv, cnt);
-}