This is the initial commit of provided code. Note that there is a bug in threadpool_test.c, patched with a do nothing for now