Sha256: f9968f286be1f3525596c2d3d17de01816712ee26508bb7e4b0d7d9600cffae4
Contents?: true
Size: 514 Bytes
Versions: 8
Compression:
Stored size: 514 Bytes
Contents
#ifndef RUBY_THREAD_NONE_H #define RUBY_THREAD_NONE_H #define RB_NATIVETHREAD_LOCK_INIT (void)(0) #define RB_NATIVETHREAD_COND_INIT (void)(0) // no-thread impl doesn't use TLS but define this to avoid using tls key // based implementation in vm.c #define RB_THREAD_LOCAL_SPECIFIER typedef struct native_thread_data_struct {} native_thread_data_t; typedef struct rb_global_vm_lock_struct {} rb_global_vm_lock_t; RUBY_EXTERN struct rb_execution_context_struct *ruby_current_ec; #endif /* RUBY_THREAD_NONE_H */
Version data entries
8 entries across 8 versions & 2 rubygems