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