Ruby
2.7.1p83(2020-03-31revisiona0c7c23c9cec0d0ffcba012279cd652d28ad5bf3)
|
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