ruby-changes:20135
From: kosaki <ko1@a...>
Date: Tue, 21 Jun 2011 20:00:06 +0900 (JST)
Subject: [ruby-changes:20135] kosaki:r32183 (trunk): * internal.h: move rb_thread_io_blocking_region() declaration
kosaki 2011-06-21 19:57:53 +0900 (Tue, 21 Jun 2011) New Revision: 32183 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32183 Log: * 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. Modified files: trunk/ChangeLog trunk/include/ruby/intern.h trunk/internal.h Index: include/ruby/intern.h =================================================================== --- include/ruby/intern.h (revision 32182) +++ include/ruby/intern.h (revision 32183) @@ -806,7 +806,6 @@ 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); Index: ChangeLog =================================================================== --- ChangeLog (revision 32182) +++ ChangeLog (revision 32183) @@ -1,3 +1,10 @@ +Tue Jun 21 19:56:07 2011 KOSAKI Motohiro <kosaki.motohiro@g...> + + * 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@g...> * test/ruby/test_thread.rb (TestThread#test_priority): enable Index: internal.h =================================================================== --- internal.h (revision 32182) +++ internal.h (revision 32183) @@ -159,6 +159,7 @@ 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/