summaryrefslogtreecommitdiff
path: root/lib/worker.h
Commit message (Collapse)AuthorAge
* Reformat with new clang-formatDan Goodliffe2023-11-07
|
* Drop .hpp for header only thingsDan Goodliffe2023-04-29
| | | | Half of them acquired a .cpp part anyway
* 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
* Simplify doWork, add tests for various interface usesDan Goodliffe2023-04-14
|
* 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
|
* Latest clang-formattingDan Goodliffe2022-10-02
|
* Replace include guard macros with pragma onceDan Goodliffe2022-01-02
|
* Add requires on factory like functionsDan Goodliffe2021-03-16
|
* 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.