mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* internal.h: move rb_thread_io_blocking_region() declaration
from intern.h to internal.h. It's still experimental API and need more discussion. * include/ruby/intern.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cb138bbaa6
commit
97beed076f
3 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
Tue Jun 21 19:56:07 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* internal.h: move rb_thread_io_blocking_region() declaration
|
||||
from intern.h to internal.h. It's still experimental API and
|
||||
need more discussion.
|
||||
* include/ruby/intern.h: ditto.
|
||||
|
||||
Tue Jun 21 19:46:23 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* test/ruby/test_thread.rb (TestThread#test_priority): enable
|
||||
|
|
|
@ -806,7 +806,6 @@ void rb_thread_check_ints(void);
|
|||
int rb_thread_interrupted(VALUE thval);
|
||||
VALUE rb_thread_blocking_region(rb_blocking_function_t *func, void *data1,
|
||||
rb_unblock_function_t *ubf, void *data2);
|
||||
VALUE rb_thread_io_blocking_region(rb_blocking_function_t *func, void *data1, int fd);
|
||||
#define RUBY_UBF_IO ((rb_unblock_function_t *)-1)
|
||||
#define RUBY_UBF_PROCESS ((rb_unblock_function_t *)-1)
|
||||
VALUE rb_mutex_new(void);
|
||||
|
|
|
@ -159,6 +159,7 @@ void *rb_thread_call_with_gvl(void *(*func)(void *), void *data1);
|
|||
void rb_clear_trace_func(void);
|
||||
VALUE rb_thread_backtrace(VALUE thval);
|
||||
VALUE rb_get_coverages(void);
|
||||
VALUE rb_thread_io_blocking_region(rb_blocking_function_t *func, void *data1, int fd);
|
||||
|
||||
/* thread_pthread.c, thread_win32.c */
|
||||
void Init_native_thread(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue