summaryrefslogtreecommitdiffstats
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
commit8c837cabc00e969ecb6e183a849e769a1afdfda2 (patch)
tree9bef08e65cfc01ac725204b816856e7b308eed78 /thread.c
parent10b46bd58a3d9605c33336837bd4cc88f8e19cfd (diff)
downloadruby-8c837cabc00e969ecb6e183a849e769a1afdfda2.tar.gz
ruby-8c837cabc00e969ecb6e183a849e769a1afdfda2.tar.xz
ruby-8c837cabc00e969ecb6e183a849e769a1afdfda2.zip
* 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: http://svn.ruby-lang.org/repos/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 68fcf0629..c744b2692 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