@OlegHahm here it is: the stack size for a pthread is defined here