system/SignalFD: throw exception on error

This commit is contained in:
Max Kellermann
2018-08-06 11:53:45 +02:00
parent 5b09504a71
commit dd18fe34a7
3 changed files with 6 additions and 3 deletions

View File

@@ -32,6 +32,8 @@ typedef BoundMethod<void()> SignalHandler;
/**
* Initialise the signal monitor subsystem.
*
* Throws on error.
*/
void
SignalMonitorInit(EventLoop &loop);