Add return value documentation to doProcessEvents.

This commit is contained in:
Sönke Ludwig 2020-11-26 10:45:32 +01:00
parent 206d3fa34e
commit 009bf7f5ed

View file

@ -336,6 +336,13 @@ package class PosixEventLoop {
protected abstract void dispose();
/** Waits for and processes a single batch of events.
Returns:
Returns `false` if no event was received before the timeout expired
and `true` if either an event was received, or if the wait was
interrupted by an error or signal.
*/
protected abstract bool doProcessEvents(Duration dur);
/// Registers the FD for general notification reception.