xref: /openbsd-src/gnu/usr.bin/perl/os2/os2thread.h (revision ce7e0fc6a9d74d25b78fb6ad846387717f5172b6)
1 #include <sys/builtin.h>
2 #include <sys/fmutex.h>
3 #include <sys/rmutex.h>
4 typedef int perl_os_thread;
5 
6 typedef _rmutex perl_mutex;
7 
8 /*typedef HEV perl_cond;*/	/* Will include os2.h into all C files.  */
9 typedef unsigned long perl_cond;
10 
11 #ifdef USE_SLOW_THREAD_SPECIFIC
12 typedef int perl_key;
13 #else
14 typedef void** perl_key;
15 #endif
16 
17 typedef unsigned long pthread_attr_t;
18 #define PTHREADS_INCLUDED
19 #define pthread_attr_init(arg) 0
20 #define pthread_attr_setdetachstate(arg1,arg2) 0
21