[ruby-core:82883] Re: [Ruby trunk Bug#13916] Race condition when sending a signal to a new fork

From: Eric Wong <normalperson@...>
Date: 2017-09-19 22:35:33 UTC
List: ruby-core #82883
russell.davis@gmail.com wrote:
> https://bugs.ruby-lang.org/issues/13916

Oops, I don't think we block signals properly for plain `fork' (vs `spawn').
We need to use pthread_sigmask / sigprocmask to block signal.

I am testing this (slowly) and going to take a break while it
runs:

   https://80x24.org/spew/20170919223250.22840-1-e@80x24.org/raw

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

In This Thread