]> git.eshelyaron.com Git - emacs.git/commit
Mark both ends of self-pipe a nonblocking.
authorPhilipp Stephani <phst@google.com>
Sat, 23 Jan 2021 16:24:34 +0000 (17:24 +0100)
committerPhilipp Stephani <phst@google.com>
Sat, 23 Jan 2021 16:26:49 +0000 (17:26 +0100)
commitaeff424c555da7e80775482db84eecef10286fc3
treed7038b940cff6e8f3408380f95be7662516879cf
parent6a6fde0375d499a418f81a0dafe803d6cb0d4c97
Mark both ends of self-pipe a nonblocking.

While no deadlocks caused by the blocking write end have been reported
yet, marking both ends nonblocking is consistent and also recommended
in the GNU/Linux manpage of 'select'.

* src/process.c (child_signal_init): Mark write end of self-pipe as
nonblocking.
src/process.c