A thread pool library for C. Easy to use as well. For instructions on basic usage, visit the examples.
For installation, please go here. For documentation, please go here.
Make sure to have make, gcc and git installed.
Then, make sure all the following dependencies are installed:
Then install the library:
git clone https://github.com/resyfer/libtpool.git
cd libtpool
make install
cd ..
rm -rf libtpool
Provide the password when prompted.
Update makefile variable MODE
to be:
MODE:=dev
and then:
make run # to run the example
# or
make test # to run the tests