commit | 1daf88d6ceb1530c36f30dad49628434b2bc7b4d | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@google.com> | Thu Nov 16 11:19:08 2023 -0800 |
committer | Bart Van Assche <bvanassche@google.com> | Wed Nov 22 09:06:02 2023 -0800 |
tree | 6825c6cc26e8feab1087681e6998f54bdde9607d | |
parent | c93c5eff0efd4992537365d8206f0728cc9455d3 [diff] |
init: Fix signalfd support in WaitToBeReaped() Add an Epoll::Open() call such that the Epoll::Wait() calls wait for the signalfd. Rename DiscardSiginfo() into HandleSignal(). Handle Epoll method call failures. Test whether alive_pids is empty once per loop iteration. Test: CtsInitTestCases:ServiceStopTest Change-Id: I16c27aa74d61f889b304f3e59cd3c5255c299ce1 Signed-off-by: Bart Van Assche <bvanassche@google.com>