Hello....
He doesn't use dynamic memory, he has used static arrays, and
he has used pthread , this is why you can program with it
real-time softwares under QNX real-time OS, i think
that this guy has avoided dynamic memory because he has
needed his threadpool to be able to do with it real-time softwares.
This is why i think that this guy is smart, look at his threadpool here:
https://github.com/ryanlayer/sandbox/tree/master/C/cthreadpool
Thank you,
Amine Moulay Ramdane.