ruby-changes:20138
From: kosaki <ko1@a...>
Date: Tue, 21 Jun 2011 20:55:00 +0900 (JST)
Subject: [ruby-changes:20138] kosaki:r32186 (trunk): revert r32183
kosaki 2011-06-21 20:52:24 +0900 (Tue, 21 Jun 2011) New Revision: 32186 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32186 Log: revert r32183 Modified files: trunk/ChangeLog trunk/include/ruby/intern.h trunk/internal.h Index: include/ruby/intern.h =================================================================== --- include/ruby/intern.h (revision 32185) +++ include/ruby/intern.h (revision 32186) @@ -806,6 +806,7 @@ 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 32185) +++ ChangeLog (revision 32186) @@ -2,13 +2,6 @@ * ext/date/date_core.c (datetime_s_*): canonicalize 24 o'clock. -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. [ruby-dev:43698] - * 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 32185) +++ internal.h (revision 32186) @@ -159,7 +159,6 @@ 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/