1#ifndef INTERNAL_THREAD_H
2#define INTERNAL_THREAD_H
18#define COVERAGE_INDEX_LINES 0
19#define COVERAGE_INDEX_BRANCHES 1
20#define COVERAGE_TARGET_LINES 1
21#define COVERAGE_TARGET_BRANCHES 2
22#define COVERAGE_TARGET_METHODS 4
23#define COVERAGE_TARGET_ONESHOT_LINES 8
42RUBY_SYMBOL_EXPORT_BEGIN
#define MJIT_SYMBOL_EXPORT_END
#define MJIT_SYMBOL_EXPORT_BEGIN
VALUE rb_blocking_function_t(void *)
VALUE rb_get_coverages(void)
void rb_mutex_allow_trap(VALUE self, int val)
int ruby_thread_has_gvl_p(void)
int rb_threadptr_execute_interrupts(struct rb_thread_struct *th, int blocking_timing)
VALUE rb_mutex_owned_p(VALUE self)
VALUE rb_suppress_tracing(VALUE(*func)(VALUE), VALUE arg)
int rb_thread_to_be_killed(VALUE thread)
VALUE rb_thread_shield_new(void)
VALUE rb_thread_shield_destroy(VALUE self)
VALUE rb_uninterruptible(VALUE(*b_proc)(VALUE), VALUE data)
VALUE rb_thread_shield_wait(VALUE self)
VALUE rb_default_coverage(int)
VALUE rb_thread_shield_release(VALUE self)
int rb_get_coverage_mode(void)
VALUE rb_obj_is_mutex(VALUE obj)
void rb_thread_execute_interrupts(VALUE th)
VALUE rb_thread_io_blocking_region(rb_blocking_function_t *func, void *data1, int fd)
int rb_thread_wait_for_single_fd(int fd, int events, struct timeval *timeout)