10a5f61bbSmillert #include <sys/builtin.h> 20a5f61bbSmillert #include <sys/fmutex.h> 30a5f61bbSmillert #include <sys/rmutex.h> 40a5f61bbSmillert typedef int perl_os_thread; 50a5f61bbSmillert 60a5f61bbSmillert typedef _rmutex perl_mutex; 70a5f61bbSmillert 80a5f61bbSmillert /*typedef HEV perl_cond;*/ /* Will include os2.h into all C files. */ 90a5f61bbSmillert typedef unsigned long perl_cond; 10*85009909Smillert int os2_cond_wait(perl_cond *c, perl_mutex *m); 110a5f61bbSmillert 12c8ca9003Smillert #ifdef USE_SLOW_THREAD_SPECIFIC 130a5f61bbSmillert typedef int perl_key; 14c8ca9003Smillert #else 15c8ca9003Smillert typedef void** perl_key; 16c8ca9003Smillert #endif 170a5f61bbSmillert 180a5f61bbSmillert typedef unsigned long pthread_attr_t; 190a5f61bbSmillert #define PTHREADS_INCLUDED 200a5f61bbSmillert #define pthread_attr_init(arg) 0 210a5f61bbSmillert #define pthread_attr_setdetachstate(arg1,arg2) 0 22