* eval.c (rb_thread_remove): back outt changes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2003-02-21 03:33:29 +00:00
parent 973b1eb274
commit 8fc299e8bc
2 changed files with 2 additions and 6 deletions

View File

@ -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>

1
eval.c
View File

@ -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;
}