Commit | Line | Data |
dd96f567 |
1 | #include <sys/builtin.h> |
2 | #include <sys/fmutex.h> |
3 | #include <sys/rmutex.h> |
3aefca04 |
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; |
5c728af0 |
10 | int os2_cond_wait(perl_cond *c, perl_mutex *m); |
3aefca04 |
11 | |
90866323 |
12 | #ifdef USE_SLOW_THREAD_SPECIFIC |
3aefca04 |
13 | typedef int perl_key; |
90866323 |
14 | #else |
15 | typedef void** perl_key; |
16 | #endif |
3aefca04 |
17 | |
dd96f567 |
18 | typedef unsigned long pthread_attr_t; |
19 | #define PTHREADS_INCLUDED |
3aefca04 |
20 | #define pthread_attr_init(arg) 0 |
21 | #define pthread_attr_setdetachstate(arg1,arg2) 0 |