Function Inotifier.getEvent
get one pending inotify event
This function may sleep.
Returns
A pointer to a const Event. This pointer remains valid until the next call to getEvent
or consumeAllEvents
.
Bugs
Only one fiber at a time may use this function