24 #ifndef _RL_WTHREAD_H_ 25 #define _RL_WTHREAD_H_ 32 #define WTREAD_GNUC10 ( __GNUC__ * 1000 ) + __GNUC_MINOR__ 33 #if WTREAD_GNUC10 < 4008 77 #ifndef WIN_PTHREADS_H 105 void *(*func)(
void*),
void *arg);
void rlwthread_exit(void *status)
int rlwrapwait_semaphore(WSEMAPHORE *s)
int rlwthread_attr_init(pthread_attr_t *attr)
struct __sched_param SCHED_PARAM
int rlwthread_sleep(long msec)
int rlwthread_mutex_init(pthread_mutex_t *mptr, const pthread_mutexattr_t *attr)
int rlwthread_join(pthread_t tid, void **status)
int rlwthread_mutex_destroy(pthread_mutex_t *mptr)
int rlwthread_mutex_lock(pthread_mutex_t *mptr)
int rlwrapincrement_semaphore(WSEMAPHORE *s)
int rlwthread_cancel(pthread_t tid)
int rlwrapinit_semaphore(WSEMAPHORE *s, int cmax)
int rlwthread_create(pthread_t *tid, const pthread_attr_t *attr, void *(*func)(void *), void *arg)
unsigned long int pthread_t
int rlwthread_mutex_trylock(pthread_mutex_t *mptr)
int rlwthread_mutex_unlock(pthread_mutex_t *mptr)
int rlwrapdestroy_semaphore(WSEMAPHORE *s)
void rlwthread_close_handle(pthread_t *tid)