Feature #4328 ยป 0001-export-rb_thread_call_with_gvl.patch
| include/ruby/intern.h | ||
|---|---|---|
|
typedef VALUE rb_blocking_function_t(void *);
|
||
|
void rb_thread_check_ints(void);
|
||
|
int rb_thread_interrupted(VALUE thval);
|
||
|
void *rb_thread_call_with_gvl(void *(*func)(void *), void *data1);
|
||
|
VALUE rb_thread_blocking_region(rb_blocking_function_t *func, void *data1,
|
||
|
rb_unblock_function_t *ubf, void *data2);
|
||
|
#define RUBY_UBF_IO ((rb_unblock_function_t *)-1)
|
||
| vm_core.h | ||
|---|---|---|
|
void rb_thread_start_timer_thread(void);
|
||
|
void rb_thread_stop_timer_thread(void);
|
||
|
void rb_thread_reset_timer_thread(void);
|
||
|
void *rb_thread_call_with_gvl(void *(*func)(void *), void *data1);
|
||
|
int ruby_thread_has_gvl_p(void);
|
||
|
VALUE rb_make_backtrace(void);
|
||
|
typedef int rb_backtrace_iter_func(void *, VALUE, int, VALUE);
|
||