summaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-24 09:45:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-24 09:45:41 +0000
commitf471899f65bf7649279852eb3928334a5cf59e86 (patch)
tree0997d7bdf09c0c4ae8d2b3f98a09d99a13c453cd /win32
parentf94cddf1207b236f9bfa61de8e31823a4414771a (diff)
* file.c (rb_thread_flock, rb_file_flock): use UBF feature.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 5f9cace34..ada33421c 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -3851,7 +3851,7 @@ rb_w32_asynchronize(asynchronous_func_t func, VALUE self,
if (thr) {
yield_until(arg.stackaddr);
- if (rb_w32_wait_events(&thr, 1, INFINITE) != WAIT_OBJECT_0) {
+ if (rb_w32_wait_events_blocking(&thr, 1, INFINITE) != WAIT_OBJECT_0) {
interrupted = TRUE;
if (TerminateThread(thr, intrval)) {