thread-pool icon indicating copy to clipboard operation
thread-pool copied to clipboard

A modern, fast, lightweight thread pool library based on C++20

Results 21 thread-pool issues
Sort by recently updated
recently updated
newest added

`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...

enhancement
help wanted
good first issue

**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...

enhancement

**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`...

enhancement
help wanted
good first issue
investigate

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...

bug
help wanted

The build documentation and publish action is currently broken. See https://github.com/DeveloperPaul123/thread-pool/actions/runs/12571872394

bug
help wanted
good first issue