Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C_THREAD_POOL

a sample implement of thread pool in C language.

Config

cmake

If your cmake version is less than 3.29, you can try change the version to fit yours.

Thread

If your system don't support the posix thread, comment the THREADPOOL_POSIX define marco.

Pool

It's better to change the pool MAX_THREAD and MAX_TASK to fit your cpu and have the best performance.

Run

git clone ~The URL~
cd ~The Dir~
mkdir build
cd build
cmake ..
cmake --build . --config Release
./ThreadPool

About

A implement of thread pool in C language.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages