aboutsummaryrefslogtreecommitdiffstats
path: root/thread_win32.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-18 15:15:40 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-18 15:15:40 +0000
commitcaa539f2a358ed0ccac6e4bdcccc2bb4b59e307f (patch)
tree0587b227cd7d9c39b94ba745dbc4939002ca55f6 /thread_win32.c
parent3882b07c3a8694e07b30b56e5c2c26c1695122f2 (diff)
downloadruby-caa539f2a358ed0ccac6e4bdcccc2bb4b59e307f.tar.gz
* 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
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c2
1 files changed, 1 insertions, 1 deletions
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);
}