Crystal::EventLoop::Epoll
Inherits Crystal::EventLoop::Polling / Crystal::EventLoop::Lock / Crystal::EventLoop / Crystal::EventLoop::Socket / Crystal::EventLoop::FileDescriptor / Reference / Object
Constructors
Instance methods
interrupt
Tells a blocking run loop to no longer wait for events to activate. It may for example enqueue a NOOP event with an immediate (or past) timeout. Having activated an event, the loop shall return, allowing the blocked thread to continue.
Should be a NOOP when the loop isn't running or is running in a nonblocking mode.
NOTE: we assume that multiple threads won't run the event loop at the same time in parallel, but this assumption may change in the future!