dengbzh / CThreadPool

This is a ThreadPool written by C++ in ubuntu linux system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

src is the source file of my cpp threadpool

obj CThreadManager is the interface with user

obj CJob is the entrance of thread by implementing the interface run() in CJob, and invoke in CThreadManager. CThreadManager would invoke your thread in threadpool to the thread with least jobs or jobs queue below busyThreshold.

obj CThread is the pakage of thread

obj CWokerThread inherit CThread, adding features we wanted, becoming the worker of my thread pool

obj CThreadPool assigning jobs and scheduling the workers

About

This is a ThreadPool written by C++ in ubuntu linux system


Languages

Language:C++ 97.2%Language:Makefile 2.8%