doubt on pthread

Submitted by ganesh_rak
on October 8, 2005 - 9:21pm

can any body say what does pthread_create returns.i created threads which are running but i am getting return values of pthread_create as some negative values .can anybody say what are they?

Did you read the manpage?

Ano Nymous
on
October 9, 2005 - 4:14am

Did you read the manpage?


RETURN VALUE
If successful, the pthread_create() function shall return zero; other-
wise, an error number shall be returned to indicate the error.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.