|
Dawn Framework 1.0
Universal data acquisition framework for embedded systems
|
Shared runner for poll-based worker threads. More...
#include <poll_loop.hxx>
Static Public Member Functions | |
| static int | run (CThreadedObject &threadCtl, struct pollfd *pfds, nfds_t nfds, int timeoutMs, const SPollLoopCallbacks &callbacks, void *priv) |
| Run poll loop until quit is requested. | |
Shared runner for poll-based worker threads.
Definition at line 52 of file poll_loop.hxx.
|
inlinestatic |
Run poll loop until quit is requested.
The loop periodically wakes by timeout so quit requests can be observed.
Definition at line 61 of file poll_loop.hxx.
References dawn::SPollLoopCallbacks::afterPoll, dawn::SPollLoopCallbacks::beforePoll, and dawn::SPollLoopCallbacks::onPollReady.