From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 496001F516 for ; Mon, 25 Jun 2018 00:22:21 +0000 (UTC) From: Eric Wong To: spew@80x24.org Subject: [PATCH 0/5] SIGCHLD hijacking for Process.wait compatibility with MJIT Date: Mon, 25 Jun 2018 00:22:15 +0000 Message-Id: <20180625002220.29490-1-e@80x24.org> List-Id: [ruby-core:87605] [Ruby trunk Bug#14867] I plan to squash patches 1-3 before committing, and separate out 4 and 5 The following changes since commit 8c8247c6eb554d32fdb03f199df9c14d18bf71dc: * 2018-06-25 (2018-06-24 22:08:16 +0000) are available in the Git repository at: git://80x24.org/ruby.git chld-hijack for you to fetch changes up to 02cd6168da97d63a0a9e181706ad3c1732328267: Revert "spec: skip Process wait specs on MJIT" (2018-06-25 00:18:54 +0000) ---------------------------------------------------------------- Eric Wong (5): hijack SIGCHLD handler for internal use fix SIGCHLD hijacking race conditions mjit.c: allow working on platforms without SIGCHLD Revert "test_process.rb: skip tests for Bug 14867" Revert "spec: skip Process wait specs on MJIT" mjit.c | 68 ++++++++++--- process.c | 181 ++++++++++++++++++++++++++------- signal.c | 56 ++++++---- spec/mspec/lib/mspec/guards/feature.rb | 6 -- spec/ruby/core/process/wait2_spec.rb | 26 +++-- spec/ruby/core/process/wait_spec.rb | 122 +++++++++++----------- spec/ruby/core/process/waitall_spec.rb | 66 ++++++------ test/ruby/test_process.rb | 3 - thread.c | 13 +++ vm_core.h | 3 + 10 files changed, 355 insertions(+), 189 deletions(-)