Sha256: 5b358b34b39bfcc1af66de6bc03a22d8950d9725614bdb809d2040808c4283d0
Contents?: true
Size: 595 Bytes
Versions: 26
Compression:
Stored size: 595 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 struct rb_native_thread { void *thread_id; // NULL }; struct rb_thread_sched_item {}; struct rb_thread_sched {}; RUBY_EXTERN struct rb_execution_context_struct *ruby_current_ec; NOINLINE(struct rb_execution_context_struct *rb_current_ec_noinline(void)); // for assertions #endif /* RUBY_THREAD_NONE_H */
Version data entries
26 entries across 10 versions & 3 rubygems