Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
Data Structures | Macros | Typedefs | Variables
thread_pthread.h File Reference

Go to the source code of this file.

Data Structures

struct  native_thread_data_struct
 
struct  rb_global_vm_lock_struct
 

Macros

#define RB_NATIVETHREAD_LOCK_INIT   PTHREAD_MUTEX_INITIALIZER
 
#define RB_NATIVETHREAD_COND_INIT   PTHREAD_COND_INITIALIZER
 
#define RB_THREAD_LOCAL_SPECIFIER   _Thread_local
 

Typedefs

typedef struct native_thread_data_struct native_thread_data_t
 
typedef struct rb_global_vm_lock_struct rb_global_vm_lock_t
 

Variables

RB_THREAD_LOCAL_SPECIFIER struct rb_execution_context_structruby_current_ec
 

Macro Definition Documentation

◆ RB_NATIVETHREAD_COND_INIT

#define RB_NATIVETHREAD_COND_INIT   PTHREAD_COND_INITIALIZER

Definition at line 18 of file thread_pthread.h.

◆ RB_NATIVETHREAD_LOCK_INIT

#define RB_NATIVETHREAD_LOCK_INIT   PTHREAD_MUTEX_INITIALIZER

Definition at line 17 of file thread_pthread.h.

◆ RB_THREAD_LOCAL_SPECIFIER

#define RB_THREAD_LOCAL_SPECIFIER   _Thread_local

Definition at line 74 of file thread_pthread.h.

Typedef Documentation

◆ native_thread_data_t

◆ rb_global_vm_lock_t

Variable Documentation

◆ ruby_current_ec