From: "authorNari (Narihiro Nakamura)"
Date: 2012-11-28T16:34:42+09:00
Subject: [ruby-dev:46649] [ruby-trunk - Bug #7452] Main thread is stopped after running finalizers if the main thread has a finalizer
Issue #7452 has been updated by authorNari (Narihiro Nakamura).
ã¡ã¤ã³ã¹ã¬ããã«ãã¡ã¤ãã©ã¤ã¶ãç»é²ã§ããªããããªãããã«ãªã£ã¦ããããã§ããããã¡ã¤ãã©ã¤ã¶å®è¡å¾ã«æ¢ã¾ã£ã¦ãã¾ããã¨ãåé¡ã®æ¬è³ªã®ããã«æãã¾ãã
ãªãã§æ¢ã¾ã£ã¦ãã¾ãã®ã§ããããâ¦ã
----------------------------------------
Bug #7452: Main thread is stopped after running finalizers if the main thread has a finalizer
https://bugs.ruby-lang.org/issues/7452#change-34075
Author: mrkn (Kenta Murata)
Status: Assigned
Priority: Normal
Assignee: authorNari (Narihiro Nakamura)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-28 trunk 37923) [x86_64-darwin11.4.2]
以ä¸ã®ããã«ã¡ã¤ã³ã¹ã¬ããã«ãã¡ã¤ãã©ã¤ã¶ãç»é²ããã¨ããã¡ã¤ãã©ã¤ã¶å®è¡å¾ã«æ¢ã¾ã£ã¦ãã¾ãã¾ãã
ObjectSpace.define_finalizer(Thread.main) {}
trunk 㨠ruby_1_9_3 ãã©ã³ãã®å
é ã§çºçãããã¨ã確èªãã¦ãã¾ãã
trunk ã¯ä»¥ä¸ã® gist ã«è²¼ã£ã patch ã§ä¿®æ£ã§ãã¾ããã
https://gist.github.com/4159481
1.9.3 ã¯ä»¥ä¸ã® gist ã«è²¼ã£ã patch ã§ä¿®æ£ã§ãã¾ããã
https://gist.github.com/4159480
--
http://bugs.ruby-lang.org/