mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 10:03:59 +02:00
2000-05-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
869b1efeb4
commit
9a1716fdb2
21 changed files with 245 additions and 185 deletions
4
eval.c
4
eval.c
|
@ -6793,7 +6793,7 @@ rb_thread_schedule()
|
|||
END_FOREACH_FROM(curr, th);
|
||||
|
||||
/* Do the select if needed */
|
||||
if (need_select || !found) {
|
||||
if (need_select) {
|
||||
/* Convert delay to a timeval */
|
||||
/* If a thread is runnable, just poll */
|
||||
if (found) {
|
||||
|
@ -7321,7 +7321,7 @@ rb_thread_abort_exc_set(thread, val)
|
|||
#define THREAD_ALLOC(th) do {\
|
||||
th = ALLOC(struct thread);\
|
||||
\
|
||||
th->status = 0;\
|
||||
th->status = THREAD_RUNNABLE;\
|
||||
th->result = 0;\
|
||||
th->errinfo = Qnil;\
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue