Page MenuHomePhabricator

ecore/signal: also use nonblock for writing side of signal pipe
ClosedPublic

Authored by zmike on Sep 19 2019, 11:54 AM.

Details

Summary

if any efl-based process receives a bunch of signals in a short period of
time, it will deadlock in the signal handler. this is unavoidable given the
current signal handling architecture

by setting nonblock, we can at least avoid deadlocking even if it means we'll
be losing signal events

@fix

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zmike created this revision.Sep 19 2019, 11:54 AM
zmike requested review of this revision.Sep 19 2019, 11:54 AM
cedric accepted this revision.Sep 19 2019, 1:33 PM
This revision is now accepted and ready to land.Sep 19 2019, 1:33 PM
This revision was automatically updated to reflect the committed changes.