diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-09 09:29:45 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-09 09:29:45 +0000 |
commit | 14869595501ceb1bb82c8b006cc2e9d0acdec908 (patch) | |
tree | 9bef08e65cfc01ac725204b816856e7b308eed78 /thread.c | |
parent | 6df7c0c7214c8f56ac61555a1b4da5abc2f58329 (diff) | |
download | ruby-14869595501ceb1bb82c8b006cc2e9d0acdec908.tar.gz |
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |