Callback set for poll-based worker loops.
More...
#include <poll_loop.hxx>
|
|
void(* | afterPoll )(void *priv, struct pollfd *pfds, nfds_t nfds, int ret) |
| | Optional hook called after each poll() return.
|
| |
|
int(* | beforePoll )(void *priv, struct pollfd *pfds, nfds_t nfds) |
| | Optional hook called before each poll() call.
|
| |
|
int(* | onPollReady )(void *priv, struct pollfd *pfds, nfds_t nfds, int pollRet) |
| | Optional hook called when poll() reports ready descriptors.
|
| |
Callback set for poll-based worker loops.
Definition at line 27 of file poll_loop.hxx.
The documentation for this struct was generated from the following file: