From 4b645dc8f3cb6c3a58ccd9b85962f743399dc797 Mon Sep 17 00:00:00 2001 From: mame Date: Thu, 19 Jun 2008 14:18:46 +0000 Subject: * 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 --- thread_win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'thread_win32.c') diff --git a/thread_win32.c b/thread_win32.c index d1d0886f43..fb9b680b00 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; } -- cgit v1.2.3