Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef RUBY_THREAD_PTHREAD_H
00012 #define RUBY_THREAD_PTHREAD_H
00013
00014 #include <pthread.h>
00015 #ifdef HAVE_PTHREAD_NP_H
00016 #include <pthread_np.h>
00017 #endif
00018 typedef pthread_t rb_thread_id_t;
00019 typedef pthread_mutex_t rb_thread_lock_t;
00020 typedef pthread_cond_t rb_thread_cond_t;
00021
00022 typedef struct native_thread_data_struct {
00023 void *signal_thread_list;
00024 pthread_cond_t sleep_cond;
00025 } native_thread_data_t;
00026
00027 #endif
00028