Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cpplawyer/threadpool-for-multithreading

One thread will be used to launch other threads very cheaply, and if there is no task, the one thread will yield and execute another task. With this threadpool, it is possible to stop at any moment and restart at any moment It is also possible to let the system decide when to deallocate the threadpool object.
https://github.com/cpplawyer/threadpool-for-multithreading

cplusplus cplusplus-11 cplusplus-17 low-latency low-level multithreading mutex optimization performance thread-pool thread-safe threadpool

Last synced: about 11 hours ago
JSON representation

One thread will be used to launch other threads very cheaply, and if there is no task, the one thread will yield and execute another task. With this threadpool, it is possible to stop at any moment and restart at any moment It is also possible to let the system decide when to deallocate the threadpool object.

Awesome Lists containing this project

README

        

# Threadpool-for-Multithreading

One thread will be used to launch other threads very cheaply, and if there is no task,
the one thread will yield and execute another task. With this threadpool,
it is possible to stop at any moment and restart at any moment It is also
possible to let the system decide when to deallocate the threadpool object.

- The threadpool uses an inbuild queue.

- Easy to Use.

- Low level optimized.

- Thread limit checker, so there are no performance penalties.

- Only for basic functions with no return type and no parameters,
Please let me know if those features are required.