/libtpool

A thread pool library for C.

Primary LanguageCGNU General Public License v3.0GPL-3.0

libtpool

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.

Installation

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.

Development

Update makefile variable MODE to be:

MODE:=dev

and then:

make run # to run the example
# or
make test # to run the tests