Multithreaded Programming Guide

Return Values

pthread_create() returns a zero and exits when it completes successfully. Any other returned value indicates that an error occurred. When any of the following conditions are detected, pthread_create() fails and returns the corresponding value.


A system limit is exceeded, such as when too many LWPs have been created.


The value of tattr is invalid.