From 3aefca0416eab0f2104345964c03107793baf1d6 Mon Sep 17 00:00:00 2001 From: Ilya Zakharevich Date: Fri, 3 Apr 1998 20:39:03 -0500 Subject: [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 --- os2/os2thread.h | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'os2/os2thread.h') 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 #include #include -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 -- cgit v1.2.1