From bf442ed2b3385016b81472da981aaff51ad89ab7 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 28 Nov 2012 13:57:52 +0000 Subject: [PATCH] * thread_win32.c: catch up latest change of BLOCKING_REGION. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ thread_win32.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 82d7f47106..6a70f78c8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Nov 28 22:57:23 2012 Koichi Sasada + + * thread_win32.c: catch up latest change of BLOCKING_REGION. + Wed Nov 28 22:54:21 2012 Koichi Sasada * vm_insnhelper.c (vm_call_method): fix undefined behavior. diff --git a/thread_win32.c b/thread_win32.c index c8da1f9f87..49c143603b 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -240,7 +240,7 @@ rb_w32_wait_events(HANDLE *events, int num, DWORD timeout) int ret; BLOCKING_REGION(ret = rb_w32_wait_events_blocking(events, num, timeout), - ubf_handle, ruby_thread_from_native()); + ubf_handle, ruby_thread_from_native(), FALSE); return ret; } @@ -294,7 +294,7 @@ rb_w32_Sleep(unsigned long msec) int ret; BLOCKING_REGION(ret = rb_w32_sleep(msec), - ubf_handle, ruby_thread_from_native()); + ubf_handle, ruby_thread_from_native(), FALSE); return ret; }