1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2008-01-18 15:15:40 +00:00
parent 3882b07c3a
commit caa539f2a3
3 changed files with 9 additions and 4 deletions

View file

@ -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);
}