summaryrefslogtreecommitdiff
path: root/os2/os2thread.h
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1998-04-03 20:39:03 -0500
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-05-14 14:47:29 +0000
commit3aefca0416eab0f2104345964c03107793baf1d6 (patch)
tree5203fb60a3e6c05dd90a6fe0ce19d84517b07b61 /os2/os2thread.h
parentecbaadc1f9d5bbebf204a971c75e312b0e7fa9ae (diff)
downloadperl-3aefca0416eab0f2104345964c03107793baf1d6.tar.gz
[PATCH 5.004_64] anydbm.t
Date: Sat, 4 Apr 1998 01:39:03 -0500 (EST) Subject: [PATCH 5.004_64] threads on OS/2 Date: Sat, 4 Apr 1998 01:44:29 -0500 (EST) Subject: [PATCH 5.004_64] Better handling of Perl DLLs under OS/2 Date: Sat, 4 Apr 1998 01:47:58 -0500 (EST) Subject: [PATCH 5.004_64] Immediate stop in debugger Date: Sat, 11 Apr 1998 19:50:58 -0400 (EDT) Subject: [PATCH 5.005_64] ptags broken Date: Sat, 11 Apr 1998 22:08:21 -0400 (EDT) Subject: [PATCH 5.004_64] Document switch syntax via RE Date: Sun, 12 Apr 1998 01:12:33 -0400 (EDT) p4raw-id: //depot/perl@941
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