1 /**********************************************************************
7 Copyright (C) 2004-2007 Koichi Sasada
9 **********************************************************************/
11 #ifndef RUBY_THREAD_PTHREAD_H
12 #define RUBY_THREAD_PTHREAD_H
15 typedef pthread_t rb_thread_id_t
;
16 typedef pthread_mutex_t rb_thread_lock_t
;
17 typedef pthread_cond_t rb_thread_cond_t
;
19 typedef struct native_thread_data_struct
{
20 void *signal_thread_list
;
21 pthread_cond_t sleep_cond
;
22 } native_thread_data_t
;
24 #endif /* RUBY_THREAD_PTHREAD_H */