system/Event{FD,Pipe}: throw exception on error
This commit is contained in:
@@ -116,7 +116,11 @@ class EventLoop final : SocketMonitor
|
||||
ThreadId thread = ThreadId::Null();
|
||||
|
||||
public:
|
||||
/**
|
||||
* Throws on error.
|
||||
*/
|
||||
explicit EventLoop(ThreadId _thread);
|
||||
|
||||
EventLoop():EventLoop(ThreadId::GetCurrent()) {}
|
||||
|
||||
~EventLoop() noexcept;
|
||||
|
||||
Reference in New Issue
Block a user