Skip to content

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.

License

Notifications You must be signed in to change notification settings

cppLawyer/Threadpool-for-Multithreading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages