summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-29 15:00:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-29 15:00:15 +0000
commitd5639df7959f5b84306b8d4c85edcae0e9a8aa9b (patch)
treeb40d909e049efadc30adbde39b6d62abc65f8b0c /gc.c
parent54d5c90e34d7ddb85ec6c81751e17db1ae216225 (diff)
* eval.c (rb_gc_mark_threads): leave unmarked threads which won't wake
up alone, and mark threads in the loading table. [ruby-dev:28154] * eval.c (rb_gc_abort_threads), gc.c (gc_sweep): kill unmarked threads. [ruby-dev:28172] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gc.c b/gc.c
index 7c8324cf62..e644992620 100644
--- a/gc.c
+++ b/gc.c
@@ -1057,6 +1057,8 @@ gc_sweep()
st_foreach(source_filenames, sweep_source_filename, 0);
}
+ rb_gc_abort_threads();
+
freelist = 0;
final_list = deferred_final_list;
deferred_final_list = 0;