• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
pthread_mutex_lock returns errcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: pthread_mutex_lock returns err code 2
  • Next by Date: Re: Threading and Synchronization in Mass storage driver
  • Previous by thread: Re: pthread_mutex_lock returns err code 2
  • Next by thread: pthread_mutex_lock returns errorcode 22
  • Index(es):
    • Date
    • Thread