https://github.com/tonitaga/simplethreadpool
The ThreadPool class provides a mechanism to execute tasks concurrently by distributing them among a fixed number of worker threads. Users can submit tasks to the thread pool, wait for their completion, stop the thread pool, and launch the workers again.
https://github.com/tonitaga/simplethreadpool
cpp17 thread-pool
Last synced: 3 months ago
JSON representation
The ThreadPool class provides a mechanism to execute tasks concurrently by distributing them among a fixed number of worker threads. Users can submit tasks to the thread pool, wait for their completion, stop the thread pool, and launch the workers again.
- Host: GitHub
- URL: https://github.com/tonitaga/simplethreadpool
- Owner: tonitaga
- Created: 2023-11-11T20:16:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-26T12:40:07.000Z (over 1 year ago)
- Last Synced: 2025-01-03T10:46:03.467Z (5 months ago)
- Topics: cpp17, thread-pool
- Language: C++
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SimpleThreadPool
The ThreadPool class provides a mechanism to execute tasks concurrently by distributing them among a fixed number of worker threads. Users can submit tasks to the thread pool, wait for their completion, stop the thread pool, and launch the workers again.