![]() |
PIP 5.6.1
Platform-Independent Primitives
|
Runtime thread object with optional loop execution. More...
Classes | |
| class | PIThread |
| Thread object that executes work on a dedicated system thread. More... | |
Typedefs | |
| typedef std::function< void(void *)> | ThreadFunc |
| Callback executed by PIThread with the current data() pointer. | |
Runtime thread object with optional loop execution.
PIThread runs begin(), run() and end() on a dedicated system thread. In loop mode it also drains queued delivery addressed to the thread object as performer through maybeCallQueuedEvents() before each iteration.