Sha256: acb93e4c11f2e693ac94d8c4ac639b3cb60cd8473ca52d53217acaee2133c33b

Contents?: true

Size: 501 Bytes

Versions: 16

Compression:

Stored size: 501 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;

#endif /* RUBY_THREAD_NONE_H */

Version data entries

16 entries across 13 versions & 2 rubygems

Version Path
debase-ruby_core_source-3.4.0 lib/debase/ruby_core_source/ruby-3.2.0-p0/thread_none.h
avalara_sdk-24.12.0 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-3.3.6/lib/debase/ruby_core_source/ruby-3.2.0-p0/thread_none.h
debase-ruby_core_source-3.3.6 lib/debase/ruby_core_source/ruby-3.2.0-p0/thread_none.h
debase-ruby_core_source-3.3.5 lib/debase/ruby_core_source/ruby-3.2.0-p0/thread_none.h
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-3.3.1/lib/debase/ruby_core_source/ruby-3.2.0-p0/thread_none.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-3.2.0-p0/thread_none.h
debase-ruby_core_source-3.3.0 lib/debase/ruby_core_source/ruby-3.2.0-p0/thread_none.h
debase-ruby_core_source-3.2.3 lib/debase/ruby_core_source/ruby-3.2.0-p0/thread_none.h
debase-ruby_core_source-3.2.2 lib/debase/ruby_core_source/ruby-3.3.0-preview2/thread_none.h
debase-ruby_core_source-3.2.2 lib/debase/ruby_core_source/ruby-3.2.0-p0/thread_none.h
debase-ruby_core_source-3.2.1 lib/debase/ruby_core_source/ruby-3.3.0-preview1/thread_none.h
debase-ruby_core_source-3.2.1 lib/debase/ruby_core_source/ruby-3.2.0-p0/thread_none.h
debase-ruby_core_source-3.2.0 lib/debase/ruby_core_source/ruby-3.2.0-p0/thread_none.h
debase-ruby_core_source-0.10.18 lib/debase/ruby_core_source/ruby-3.2.0-preview2/thread_none.h
debase-ruby_core_source-0.10.18 lib/debase/ruby_core_source/ruby-3.2.0-preview3/thread_none.h
debase-ruby_core_source-0.10.17 lib/debase/ruby_core_source/ruby-3.2.0-preview2/thread_none.h