thread-pool
thread-pool copied to clipboard
A modern, fast, lightweight thread pool library based on C++20
`dp::thread_pool` so far hasn't been tested on `macOS`. It would be good to add "official" support for this platform and show that it builds (reliably) on `macOS`. I think for...
**Description** It would be good to be able to wait for tasks to complete in the thread pool without relying on the destructor. There are use cases where it may...
**Description** Would be good to add versions of `enqueue()` and `enqueue_detach()` that would allow for submission of multiple tasks at once so that they can be batched.
I'm curious to see if a lock-free queue significantly improves performance for the thread pool. We should do some tests with industry standard lock free queues in combination with `std::move_only_function`...
Moved the function requirement into a constexpr if statement and std::ignore any return value from a given function. added a super basic test.
wait_for_tasks is wait for all tasks to complete
Hello, I am encountering an issue with inconsistent counter values in a multi-threaded environment using your thread pool implementation. The expected behavior is for the counter to reach a consistent...
The build documentation and publish action is currently broken. See https://github.com/DeveloperPaul123/thread-pool/actions/runs/12571872394