0001-export-rb_thread_call_with_gvl.patch

[PATCH] export rb_thread_call_with_gvl() - Eric Wong, 01/27/2011 03:51 PM

Download (1.5 KB)

View differences:

include/ruby/intern.h
794 794
typedef VALUE rb_blocking_function_t(void *);
795 795
void rb_thread_check_ints(void);
796 796
int rb_thread_interrupted(VALUE thval);
797
void *rb_thread_call_with_gvl(void *(*func)(void *), void *data1);
797 798
VALUE rb_thread_blocking_region(rb_blocking_function_t *func, void *data1,
798 799
				rb_unblock_function_t *ubf, void *data2);
799 800
#define RUBY_UBF_IO ((rb_unblock_function_t *)-1)
vm_core.h
651 651
void rb_thread_start_timer_thread(void);
652 652
void rb_thread_stop_timer_thread(void);
653 653
void rb_thread_reset_timer_thread(void);
654
void *rb_thread_call_with_gvl(void *(*func)(void *), void *data1);
655 654
int ruby_thread_has_gvl_p(void);
656 655
VALUE rb_make_backtrace(void);
657 656
typedef int rb_backtrace_iter_func(void *, VALUE, int, VALUE);
658
-