[runtime] Rework process waiting. (#5175)
authorZoltan Varga <vargaz@gmail.com>
Thu, 6 Jul 2017 20:23:35 +0000 (16:23 -0400)
committerGitHub <noreply@github.com>
Thu, 6 Jul 2017 20:23:35 +0000 (16:23 -0400)
commit4ceda0772d87ae7aadb6805fdadfacc02b8d08cd
tree35216115184787b4dbb56e11b7097e864d3aa828
parent75d5e92311d0b4a3630dcb78a41d7f5aeab009f0
[runtime] Rework process waiting. (#5175)

Instead of using fragile lockless code in the sigchld signal handler, wake up the finalizer thread and make it call back
into the process code to signal finished processes.
mono/metadata/gc.c
mono/metadata/w32process-unix.c
mono/metadata/w32process-win32.c
mono/metadata/w32process.h