]> git.eshelyaron.com Git - emacs.git/commit
Make child signal read pipe non-blocking.
authorPhilipp Stephani <phst@google.com>
Tue, 19 Jan 2021 20:35:06 +0000 (21:35 +0100)
committerPhilipp Stephani <phst@google.com>
Tue, 19 Jan 2021 20:38:46 +0000 (21:38 +0100)
commit8ed97a8d543b9596166c670212265dabc44aa3d5
tree4313a6fe56d6c139391f974be3597009fbfcdef3
parent8725f7690a44306f03d7cbb9eaa45590fcaf88db
Make child signal read pipe non-blocking.

Otherwise Emacs might hang when trying to read the pipe twice in a
row.  This is consistent with the other file descriptors we pass to
'pselect'.

* src/process.c (child_signal_init): Make read end of pipe
non-blocking.
src/process.c