Yes. Need more considerations...

iPadから送信

2018/10/28 10:37、Eric Wong <normalperson / yhbt.net>のメール:

> Eric Wong <normalperson / yhbt.net> wrote:
>> Koichi Sasada <ko1 / atdot.net> wrote:
>>> thank you for you patch.
>>> but it is not acceptable because "set only main thread" is highly
>>> restricted. stackprof doesn't work well.
>>> 
>>> I'm thinking that making interrupt_flag global.
>> 
>> That sounds like a better idea.  Can we get rid of
>> ec->interrupt_flag entirely? (but keep ec->interrupt_mask)
> 
> Nevermind, I guess ec->interrupt_flag is still needed for
> pending interrupt (Thread#raise) :<
> 
> Downside is checking for interrupts checking two places
> instead of one...


Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>