[ruby-core:90879] Re: [Ruby trunk Bug#15499] Breaking behavior on ruby 2.6: rb_thread_call_without_gvl doesn't invoke unblock_function when used on the main thread

From: Eric Wong <normalperson@...>
Date: 2019-01-03 22:33:09 UTC
List: ruby-core #90879
apolcyn@google.com wrote:
> Thanks for the quick look! I didn't get a chance to try out
> UBF_TIMER=2 before your last comment, but let me know if
> there's something else to try.

Sorry for the breakage.  For now, you can workaround this
breakage by spawning a do-nothing thread to handle signals:

  Thread.new { sleep }

I'm slowly working on a permanent fix which won't increase
overhead for the majority of use cases.

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

In This Thread