If you do run in to the stack size limit during testing, you can use the pthreads library to create a ...
www.linuxquestions.org