summaryrefslogtreecommitdiff
path: root/thread_win32.c
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-19 14:18:46 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-19 14:18:46 +0000
commit4b645dc8f3cb6c3a58ccd9b85962f743399dc797 (patch)
tree480d0d25f7d7a986d94044eaaa3fc56312111143 /thread_win32.c
parentb44d0b98d8f63385da9d3744c3e0a58f8f0dfa4e (diff)
* thread.c, thread_win32.c, vm_core.h: try to remove false positive of
deadlock detection. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thread_win32.c b/thread_win32.c
index d1d0886..fb9b680 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -147,7 +147,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, GET_THREAD(), 1);
+ ubf_handle, GET_THREAD());
return ret;
}
@@ -199,7 +199,7 @@ rb_w32_Sleep(unsigned long msec)
int ret;
BLOCKING_REGION(ret = rb_w32_sleep(msec),
- ubf_handle, GET_THREAD(), 1);
+ ubf_handle, GET_THREAD());
return ret;
}