24 [[nodiscard]]
bool poll(
int fd);
39 std::array<int, 2> wakeupPipe;
41 std::atomic_bool abortFlag;
Polls for events on a given file descriptor.
bool poll(int fd)
Waits for an event to occur on the given file descriptor.
bool aborted()
Returns true iff abort() was called.
void abort()
Aborts a poll in progress and any future poll attempts.
This file implemented 3 utility functions: