pthread_mutex_lock returns errcode
pthread_mutex_lock returns errcode
- Subject: pthread_mutex_lock returns errcode
- From: "Amol Gajewar" <email@hidden>
- Date: Fri, 16 Dec 2005 15:39:15 +0530
The function mentioned above returns errcode
as EAGAIN i.e 2 as integer value
EAGAIN error is thrown when recursive locks exceeds
a particular limit.
It doesnot throw EDEDLCK ie deadlock or EINVAL ie
path not specified.
Above function is using default initialization
option i.e FAST not recursive or errrorcheck. the thread entering function
returns very
quickly giving Abort Trap exception .
This exception is thrown by waitfailed function.
If possible give suggestion or comments so that
limit of threads locking the above function must
not exceed.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden