Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pthread_mutex_lock returns errcode



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:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.