source: vendor/perl/5.8.8/os2/os2thread.h

Last change on this file was 3181, checked in by bird, 18 years ago

perl 5.8.8

File size: 523 bytes
Line 
1#include <sys/builtin.h>
2#include <sys/fmutex.h>
3#include <sys/rmutex.h>
4typedef int perl_os_thread;
5
6typedef _rmutex perl_mutex;
7
8/*typedef HEV perl_cond;*/ /* Will include os2.h into all C files. */
9typedef unsigned long perl_cond;
10int os2_cond_wait(perl_cond *c, perl_mutex *m);
11
12#ifdef USE_SLOW_THREAD_SPECIFIC
13typedef int perl_key;
14#else
15typedef void** perl_key;
16#endif
17
18typedef unsigned long pthread_attr_t;
19#define PTHREADS_INCLUDED
20#define pthread_attr_init(arg) 0
21#define pthread_attr_setdetachstate(arg1,arg2) 0
Note: See TracBrowser for help on using the repository browser.