From caa539f2a358ed0ccac6e4bdcccc2bb4b59e307f Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 18 Jan 2008 15:15:40 +0000 Subject: * thread_win32.c (w32_wait_events): shouldn't invoke interrupt handle by timer_thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread_win32.c') diff --git a/thread_win32.c b/thread_win32.c index 7680a226e3..ba40d7fe75 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -103,7 +103,7 @@ w32_wait_events(HANDLE *events, int count, DWORD timeout, rb_thread_t *th) events, count, timeout, th); if (th && (intr = th->native_thread_data.interrupt_event)) { w32_reset_event(intr); - if (th->interrupt_flag) { + if (RUBY_VM_INTERRUPTED(th)) { w32_set_event(intr); } -- cgit v1.2.3