> kosaki (Motohiro KOSAKI) wrote:
>> On Mon, Apr 23, 2012 at 11:17 PM, Yusuke Endoh <mame / tsg.ne.jp> wrote:
>> =A0> I suggest to make Kernel#fork raise a NotImplementedError on NetBSD
>> =A0> 5.0+.
>> =A0> Fortunately, the tests already have a guard for NotImplementedError
>> =A0> because there is a supported platform that does not support
>> =A0> Kernel#fork (you know, windows).
>> =A0> Even on the platform, SEGV is not allowed, in principle.
>>
>> =A0No. it works if user don't use threads. So, one option is, fork after
>> =A0thread.new raise an exception on all platform.
>
> It is wrong.
> Ruby 1.9 makes timer thread even if there is only the main thread.

You don't understand the issue. On other OSs, async-signal-unsafe function =
usage
makes unlocked libc lock issue. therefore our current fork code works.
It kill timer thread
at once.