summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-21 03:33:29 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-21 03:33:29 +0000
commit9f0b1bde89d51a5f9e6e2eba274f4fd38e2c880b (patch)
treeea6ab94f3f82054e0666a64ba87b372e40afbea5
parent0bc4a8101e9d325619c8ba258adf526435ae1037 (diff)
downloadruby-9f0b1bde89d51a5f9e6e2eba274f4fd38e2c880b.tar.gz
ruby-9f0b1bde89d51a5f9e6e2eba274f4fd38e2c880b.tar.xz
ruby-9f0b1bde89d51a5f9e6e2eba274f4fd38e2c880b.zip
* eval.c (rb_thread_remove): back outt changes.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog7
-rw-r--r--eval.c1
2 files changed, 2 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 7e6fb78f8..3da882eab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -21,13 +21,10 @@ Fri Feb 21 05:16:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
Thu Feb 20 19:05:51 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
- * eval.c (rb_thread_remove): thread may die in the process of
- rb_thread_die(). this change was suggested by Rudi Cilibrasi
- <cilibrar@drachma.ugcs.caltech.edu>.
-
* eval.c (rb_thread_start_0): main thread swapped by fork() may
terminate rb_thread_start_0() successfully. call ruby_stop(0);
- this change too was suggested by Rudi.
+ this change was suggested by Rudi Cilibrasi
+ <cilibrar@drachma.ugcs.caltech.edu>.
Thu Feb 20 18:44:51 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
diff --git a/eval.c b/eval.c
index 4c5c0b55b..ea60f9bcd 100644
--- a/eval.c
+++ b/eval.c
@@ -7980,7 +7980,6 @@ rb_thread_remove(th)
rb_thread_ready(th);
rb_thread_die(th);
- if (th->status == THREAD_KILLED) return; /* died in process */
th->prev->next = th->next;
th->next->prev = th->prev;
}