summaryrefslogtreecommitdiffstats
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
commit51ae9612b8224d6c06eed1fd6dd4eff968bb5ae5 (patch)
tree480d0d25f7d7a986d94044eaaa3fc56312111143 /thread_win32.c
parent306e128c64bbce354b3374dada4aff585ef6fc44 (diff)
downloadruby-51ae9612b8224d6c06eed1fd6dd4eff968bb5ae5.tar.gz
ruby-51ae9612b8224d6c06eed1fd6dd4eff968bb5ae5.tar.xz
ruby-51ae9612b8224d6c06eed1fd6dd4eff968bb5ae5.zip
* thread.c, thread_win32.c, vm_core.h: try to remove false positive of
deadlock detection. git-svn-id: http://svn.ruby-lang.org/repos/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 d1d0886f4..fb9b680b0 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;
}