Pending tasks were not executed if the 'threadpool_free' was called. The pool should now wait till all pending tasks are executed.
I have completed implementing the first version of the thread pool. I believe it's stable for use.
If you find any bugs, have comments or suggestions please contact me.
This is the first project I'm adding to the open source community. I hope it will be useful to other developers requiring a thread pool pattern for C.
For those who are unfamiliar with the thread pool pattern please follow this link http://en.wikipedia.org/wiki/Thread_pool_pattern.
Although the project is very simple, I'm not done yet (Very busy at work). Hopefully I'll complete it next week with a simple example. Until I'm done it is not recommended to use these files.