mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
ff2ca81bb3
commit
bf442ed2b3
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Nov 28 22:57:23 2012 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* thread_win32.c: catch up latest change of BLOCKING_REGION.
|
||||||
|
|
||||||
Wed Nov 28 22:54:21 2012 Koichi Sasada <ko1@atdot.net>
|
Wed Nov 28 22:54:21 2012 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* vm_insnhelper.c (vm_call_method): fix undefined behavior.
|
* vm_insnhelper.c (vm_call_method): fix undefined behavior.
|
||||||
|
|
|
@ -240,7 +240,7 @@ rb_w32_wait_events(HANDLE *events, int num, DWORD timeout)
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
BLOCKING_REGION(ret = rb_w32_wait_events_blocking(events, num, timeout),
|
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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -294,7 +294,7 @@ rb_w32_Sleep(unsigned long msec)
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
BLOCKING_REGION(ret = rb_w32_sleep(msec),
|
BLOCKING_REGION(ret = rb_w32_sleep(msec),
|
||||||
ubf_handle, ruby_thread_from_native());
|
ubf_handle, ruby_thread_from_native(), FALSE);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue