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

From: Eric Wong <normalperson@...>
Date: 2018-06-29 22:47:32 UTC
List: ruby-core #87702
[email protected] wrote:
> FYI, both mswin & mingw are building.  I don't believe mswin
> runs JIT tests, but when I run them locally on MinGW, I just
> get a frozen flashing cursor.  No output at all.

Right, the fallback code for non-SIGCHLD doesn't benefit MJIT.
However, maybe polling will work, since timer-thread in
thread_win32.c is always polling anyways...

> I'm happy to help with the problem, but I'm not quite sure
> what to do...

Can you try the following patch?  It is a newer version of
[ruby-core:87682] and needs r63793[*]

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


[*] ("signal.c: use ATOMIC_EXCHANGE for sigchld_hit")
    r63793 may solve OSX problem with CI machines, as I suspect
    pthread_sigmask is broken on that platform.  Still waiting
    on results from rubyci.org.


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

In This Thread

Prev Next