Page MenuHomePhabricator

ecore/signal: increase maximum signal throughput

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



this adds 4 more signal handling fds and loops over them for reading/writing
signal info in order to handle more signals when the buffer of one (or more)
pipes is full

also update the unit test to verify that we are receiving all the events without
dropping any and bump the number of signals to 2000 since we should now be able to
handle that many
Depends on D10026

Diff Detail

rEFL core/efl
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
zmike created this revision.Sep 19 2019, 11:55 AM
zmike requested review of this revision.Sep 19 2019, 11:55 AM
cedric accepted this revision.Sep 19 2019, 1:32 PM

Signal is the worst API on Unix, I swear!

This revision is now accepted and ready to land.Sep 19 2019, 1:32 PM
This revision was automatically updated to reflect the committed changes.