From: normalperson@... Date: 2018-07-02T21:43:00+00:00 Subject: [ruby-core:87759] [Ruby trunk Bug#14867][Assigned] Process.wait can wait for MJIT compiler process Issue #14867 has been updated by normalperson (Eric Wong). Status changed from Closed to Assigned Assignee changed from normalperson (Eric Wong) to k0kubun (Takashi Kokubun) k0kubun / usa / nobu: can you check the return value handling of _WIN32 waitpid_sys/WaitForSingleObject in process.c as of r63797? It needs to retry on the timeout==0 (WNOHANG) case. Thanks. ---------------------------------------- Bug #14867: Process.wait can wait for MJIT compiler process https://bugs.ruby-lang.org/issues/14867#change-72783 * Author: k0kubun (Takashi Kokubun) * Status: Assigned * 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) JIT-test-all.log (39.9 KB) mjit_test-all_63796.log (40.4 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: