Hello.....
Sorry, i have verified again and this threadpool is stupid and garbage..
https://github.com/ryanlayer/sandbox/tree/master/C/cthreadpool
This guy is not smart because he hasn't port his threadpool to
real-time systems , because he is still using dynamic memory, so
you can not use it under QNX real-time OS , other than that he has not
eliminated the contention on the consumer threads. So his threadpool is
stupid and garbage.
Thank you,
Amine Moulay Ramdane.