diff options
Diffstat (limited to 'gnu/usr.bin/perl/os2/os2thread.h')
-rw-r--r-- | gnu/usr.bin/perl/os2/os2thread.h | 16 |
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 |