summaryrefslogtreecommitdiff
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
commitb3e38e1819234ef34294f98a3f41e66063e9d011 (patch)
tree8acdb3bd0e00259de8952276a92e7a1520d23156 /thread.c
parent45b0d6590044b741be0368ceccb3cb865ba890cd (diff)
* thread.c (do_select): ubf_select() is not necessary. interrupt is
checked in the loop. git-svn-id: svn+ssh://ci.ruby-lang.org/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 8ad02ccdc9..68fcf06294 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