Forward SIGCHLD to the io-waiter.
authorMatt Birkholz <puck@birchwood-abbey.net>
Sun, 19 Jul 2015 17:31:14 +0000 (10:31 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Thu, 26 Nov 2015 08:09:46 +0000 (01:09 -0700)
commit511ed0874d1fb16e926216783f86a9c8cec043c4
tree7ff95161d1bf2c475c9665cd38f7ac6b22248b6c
parent8ff4d3a26c4d5c8c63033749fabf9f0a7d39b76e
Forward SIGCHLD to the io-waiter.

Set/clear the new variable smp_io_blocked around calls to poll/select
so that subprocess_death (SIGCHLD) can wake a blocked processor
without having to ask Scheme which (if any) is running the io-waiter.
Wake the processor with a timer interrupt withOUT fiddling next_timer.
src/microcode/ossmp.h
src/microcode/prossmp.c
src/microcode/uxio.c
src/microcode/uxproc.c