ruby-changes:25672
From: kosaki <ko1@a...>
Date: Mon, 19 Nov 2012 20:08:20 +0900 (JST)
Subject: [ruby-changes:25672] kosaki:r37729 (trunk): * thread.c (rb_thread_blocking_region_end): replaced GET_THREAD()
kosaki 2012-11-19 20:07:53 +0900 (Mon, 19 Nov 2012) New Revision: 37729 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37729 Log: * thread.c (rb_thread_blocking_region_end): replaced GET_THREAD() with ruby_thread_from_native(). We don't have GVL here. Modified files: trunk/ChangeLog trunk/thread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 37728) +++ ChangeLog (revision 37729) @@ -1,3 +1,8 @@ +Tue Nov 20 10:05:56 2012 KOSAKI Motohiro <kosaki.motohiro@g...> + + * thread.c (rb_thread_blocking_region_end): replaced GET_THREAD() + with ruby_thread_from_native(). We don't have GVL here. + Tue Nov 20 09:56:15 2012 KOSAKI Motohiro <kosaki.motohiro@g...> * thread.c (rb_threadptr_execute_interrupts) removed. Index: thread.c =================================================================== --- thread.c (revision 37728) +++ thread.c (revision 37729) @@ -1070,7 +1070,7 @@ rb_thread_blocking_region_end(struct rb_blocking_region_buffer *region) { int saved_errno = errno; - rb_thread_t *th = GET_THREAD(); + rb_thread_t *th = ruby_thread_from_native(); blocking_region_end(th, region); xfree(region); RUBY_VM_CHECK_INTS_BLOCKING(th); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/