diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-30 04:24:17 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-30 04:24:17 +0000 |
commit | ec620c402573af9960920809c6b210fcbc9e9fba (patch) | |
tree | f08529a845b5a16b93635eeb06b58553252692c9 /eval.c | |
parent | 27351b924a7fc0aa47da3e19f01468904c32dbe2 (diff) | |
download | ruby-ec620c402573af9960920809c6b210fcbc9e9fba.tar.gz ruby-ec620c402573af9960920809c6b210fcbc9e9fba.tar.xz ruby-ec620c402573af9960920809c6b210fcbc9e9fba.zip |
2000-05-30
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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;\ \ |