attr
Threads attributes object to be modified.
stacksize
New value for the stacksize attribute of the thread attributes
object specified by the attr argument. The stacksize argument
must be greater than or equal to PTHREAD_STACK_MIN. PTHREAD_
STACK_MIN specifies the minimum size (in bytes) of the stack
needed for a thread.