Ruby
2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)
|
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__)
struct native_thread_data_struct::@162 cond
rb_nativethread_cond_t intr
rb_nativethread_cond_t switch_wait_cond
const struct rb_thread_struct * owner
union native_thread_data_struct::@161 node
rb_nativethread_cond_t gvlq
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
const struct rb_thread_struct * timer
pthread_cond_t rb_nativethread_cond_t
rb_nativethread_lock_t lock