an implementation of the threadpool pattern in C
for more information about what a threadpool is try http://en.wikipedia.org/wiki/Thread_pool_pattern
use this command to compile the project
gcc -o main main.c -Wall -lpthread
overwrite the dispatch_function() in the main and the main() itself for your own use. current code is placeholder used to showcase the code.
main.c & threadpool.c by me, any comments would be appriciated, I'd also like to know about any issues risen from this code. This is a free code, use at your own peril