Return value of pthread_create
I have read that pthread_create function returns EAGAIN on error.
But I am getting an return value of 1 for which the corresponding error from /usr/include/asm/errno is EPERM. May I know what exactly is happening. Thanks. |
pthread_create may return EAGAIN. It's one of the possible errors. The list is: EAGAIN, EINVAL and EPERM.
EPERM is 1 also in my system, so that's the error you get. The manual says Quote:
|
All times are GMT -5. The time now is 02:31 AM. |