[ruby-core:87614] [Ruby trunk Bug#14867] Process.wait can wait for MJIT compiler process

From: normalperson@...
Date: 2018-06-23 16:02:50 UTC
List: ruby-core #87614
Issue #14867 has been updated by normalperson (Eric Wong).

File 0001-hijack-SIGCHLD-handler-for-internal-use.patch added

Tested on FreeBSD 11.1 and Linux

   https://80x24.org/spew/[email protected]/raw


----------------------------------------
Bug #14867: Process.wait can wait for MJIT compiler process
https://bugs.ruby-lang.org/issues/14867#change-72633

* Author: k0kubun (Takashi Kokubun)
* Status: Open
* Priority: Normal
* Assignee: k0kubun (Takashi Kokubun)
* Target version: 
* ruby -v: 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
If Ruby tries to wait for any child process, MJIT's gcc/clang process could be caught by the method call. It's not convenient for both Ruby's user and MJIT worker thread, so Process.wait and its families should somehow avoid waiting for it.

---Files--------------------------------
0001-hijack-SIGCHLD-handler-for-internal-use.patch (13.8 KB)


-- 
https://bugs.ruby-lang.org/

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

In This Thread

Prev Next