I think this isn't exactly the problem you're looking for. You get<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
"waitpid: No child pocesses" because Racket (with places enabled)<br>
creates its own thread to reap child processes.<br></blockquote><div><br></div><div>Is it possible to make Racket not to reap child processes? Can it be done during its initialization or is compilation without places the only option?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
But if you're embedding Racket with other libraries, then the problem<br>
may boil down to the same issue: Racket maybe isn't playing nicely<br>
enough with the other libraries, which might create their own threads<br>
that have SIGCHLD enabled.<br>
<br>
If I remember correctly, Racket blocks SIGCHLD in the main thread when<br>
it starts up, so that all new threads that Racket creates inherit this<br>
disposition. In your emebdding application, do other libraries maybe<br>
create threads before Racket is initialized, so that they could be<br>
created with SIGCHLD unblocked?<br>
<br>
</blockquote></div><div>I see, we have two different problems here. One is reaping child processes and another is unblocked SIGCHLD. Thanks.</div>