summaryrefslogtreecommitdiff
path: root/os2/os2thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'os2/os2thread.h')
-rw-r--r--os2/os2thread.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/os2/os2thread.h b/os2/os2thread.h
new file mode 100644
index 0000000000..44dec3f244
--- /dev/null
+++ b/os2/os2thread.h
@@ -0,0 +1,10 @@
+#include <sys/builtin.h>
+#include <sys/fmutex.h>
+#include <sys/rmutex.h>
+typedef int pthread_t;
+typedef _rmutex pthread_mutex_t;
+/*typedef HEV pthread_cond_t;*/
+typedef unsigned long pthread_cond_t;
+typedef int pthread_key_t;
+typedef unsigned long pthread_attr_t;
+#define PTHREADS_INCLUDED