summaryrefslogtreecommitdiff
path: root/os2/os2thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'os2/os2thread.h')
-rw-r--r--os2/os2thread.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/os2/os2thread.h b/os2/os2thread.h
index 44dec3f244..d56fe160dd 100644
--- a/os2/os2thread.h
+++ b/os2/os2thread.h
@@ -1,10 +1,16 @@
#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 int perl_os_thread;
+
+typedef _rmutex perl_mutex;
+
+/*typedef HEV perl_cond;*/ /* Will include os2.h into all C files. */
+typedef unsigned long perl_cond;
+
+typedef int perl_key;
+
typedef unsigned long pthread_attr_t;
#define PTHREADS_INCLUDED
+#define pthread_attr_init(arg) 0
+#define pthread_attr_setdetachstate(arg1,arg2) 0