summaryrefslogtreecommitdiff
path: root/os2/os2thread.h
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1997-12-13 13:09:15 -0500
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-12-17 12:02:03 +0000
commitdd96f567babd77c258fd51112ff376f11f0b32ac (patch)
tree25be9a2f30132eaa9bf9f5a5a2cafb22b3630ea3 /os2/os2thread.h
parent414017bba678bf057e68f59bd92234bf578ec54e (diff)
downloadperl-dd96f567babd77c258fd51112ff376f11f0b32ac.tar.gz
Threading patches for OS/2 (missing files taken from previous patch):
Subject: Re: 5.004_55: OS/2 patches again p4raw-id: //depot/perl@371
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