summaryrefslogtreecommitdiff
path: root/lib/worker.cpp
Commit message (Collapse)AuthorAge
* Current thread partakes in work effort while waitingDan Goodliffe2023-04-14
| | | | This will prevent deadlock if the work pool is otherwise busy by ensuring work is always being done
* New WorkItem/job/promise/future based interfaceDan Goodliffe2023-04-14
|
* Simplify worker with jthreadDan Goodliffe2023-04-14
| | | | | Moves thread collection to bottom of class so threads are joined before job storage is destroyed.
* Global worker instanceDan Goodliffe2023-04-14
|
* Add a non-threaded workerDan Goodliffe2021-02-20
| | | | Runs work immediately for when compiler doesn't support C++20 semaphore
* Add basic work and worker thread poolDan Goodliffe2021-01-19
Well... that requires GCC 11 cos 10 doesn't implement semaphore.