summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-04-07 08:41:26 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-04-07 08:41:26 +0000
commit14b9d586fa1fabb695f06c5b9c1d0785207d77ef (patch)
tree7dbbcd3b404423b4148864ec8232c17da601bcf4 /eval.c
parentba06b1a81f81e089849c7c877eba7b1d3618b126 (diff)
1.1b9_07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 1d90375279..091e2ef7fa 100644
--- a/eval.c
+++ b/eval.c
@@ -5629,7 +5629,7 @@ thread_schedule()
/* raise fatal error to main thread */
thread_deadlock();
}
- if (next == curr_thread) {
+ if (next->status == THREAD_RUNNABLE && next == curr_thread) {
return;
}