summaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-09 09:49:40 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-09 09:49:40 +0000
commitfec442d641a00401fd4525586504758137798796 (patch)
tree8acdb3bd0e00259de8952276a92e7a1520d23156 /thread.c
parentc5d87ba9e423a494bacc9454f9ab9b985d156a08 (diff)
downloadruby-fec442d641a00401fd4525586504758137798796.tar.gz
ruby-fec442d641a00401fd4525586504758137798796.tar.xz
ruby-fec442d641a00401fd4525586504758137798796.zip
* thread.c (do_select): ubf_select() is not necessary. interrupt is
checked in the loop. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12162 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 8ad02ccdc..68fcf0629 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)));
- }, ubf_select);
+ }, 0);
} while (result == 0 && (timeout == 0 || subst(timeout, &wait_100ms)));
}
#else