summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/os2/os2thread.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1999-04-29 22:36:41 +0000
committermillert <millert@openbsd.org>1999-04-29 22:36:41 +0000
commit0a5f61bb653fdff7c29c2275df78c7f019a04c0c (patch)
tree0b6e610f8913b7c1e30fd7bf5bfc62edcbbd93e5 /gnu/usr.bin/perl/os2/os2thread.h
parentY2K fix: allow 'shutdown yymmddhhmm' to work in the next century. (diff)
downloadwireguard-openbsd-0a5f61bb653fdff7c29c2275df78c7f019a04c0c.tar.xz
wireguard-openbsd-0a5f61bb653fdff7c29c2275df78c7f019a04c0c.zip
perl5.005_03
Diffstat (limited to 'gnu/usr.bin/perl/os2/os2thread.h')
-rw-r--r--gnu/usr.bin/perl/os2/os2thread.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/os2/os2thread.h b/gnu/usr.bin/perl/os2/os2thread.h
new file mode 100644
index 00000000000..d56fe160ddf
--- /dev/null
+++ b/gnu/usr.bin/perl/os2/os2thread.h
@@ -0,0 +1,16 @@
+#include <sys/builtin.h>
+#include <sys/fmutex.h>
+#include <sys/rmutex.h>
+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