[ruby-core:21001] Re: Supporting Thread.critical=with native threads
Charles Oliver Nutter wrote:
> We have it working in JRuby, and would certainly rather remove it.
> However we also need thread checkpoints to support Thread#kill and
> Thread#raise, so it wouldn't eliminate checkpointing entirely. I believe
> .NET allows threads to be killed (wrongly) so you may not have this
> problem.
I should have said we "sorta" have it working in JRuby. It depends on
execution reaching a checkpoint in the other threads, which is certainly
not guaranteed and which is impossible if they make calls into Java
libraries or long-running core class methods. So again, critical= is
broken. Nobody should ever use it, ever.
- Charlie