Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
|
Go to the documentation of this file.
11 #ifndef RUBY_THREAD_PTHREAD_H
12 #define RUBY_THREAD_PTHREAD_H
14 #ifdef HAVE_PTHREAD_NP_H
15 #include <pthread_np.h>
18 #define RB_NATIVETHREAD_LOCK_INIT PTHREAD_MUTEX_INITIALIZER
19 #define RB_NATIVETHREAD_COND_INIT PTHREAD_COND_INITIALIZER
28 #if defined(__GLIBC__) || defined(__FreeBSD__)
rb_nativethread_cond_t intr
rb_nativethread_cond_t switch_wait_cond
const struct rb_thread_struct * owner
rb_nativethread_cond_t gvlq
union native_thread_data_struct::@0 node
rb_nativethread_cond_t switch_cond
struct native_thread_data_struct native_thread_data_t
struct rb_global_vm_lock_struct rb_global_vm_lock_t
struct native_thread_data_struct::@1 cond
const struct rb_thread_struct * timer
pthread_cond_t rb_nativethread_cond_t
rb_nativethread_lock_t lock