summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-09 09:29:45 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-09 09:29:45 +0000
commit14869595501ceb1bb82c8b006cc2e9d0acdec908 (patch)
tree9bef08e65cfc01ac725204b816856e7b308eed78 /thread.c
parent6df7c0c7214c8f56ac61555a1b4da5abc2f58329 (diff)
* thread.c (do_select): use ubf_select() as UBF on windows.
* win32/win32.c (do_select): shouldn't call catch_interrupt() here. fixed: [ruby-dev:30674], reported by wanabe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 68fcf06294..c744b26926 100644
--- a/thread.c
+++ b/thread.c
@@ -1720,7 +1720,7 @@ do_select(int n, fd_set *read, fd_set *write, fd_set *except,
if (except) *except = orig_except;
wait = &wait_100ms;
} while (__th->interrupt_flag == 0 && (timeout == 0 || subst(timeout, &wait_100ms)));
- }, 0);
+ }, do_select);
} while (result == 0 && (timeout == 0 || subst(timeout, &wait_100ms)));
}
#else