| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Terry, Thanks for the explanation. I am facing a some what strange sequence of calling (forced by PC porting) which looks something like this: Currently I get a deadlock situation. How would you outline handling this deadlock? funcA() { lock mutex funcB() do stuff... unlock mutex } funcB() { lock mutex do stuff... unlock mutex } Cheers, Erez On Jul 19, 2007, at 7:24 AM, Terry Lambert wrote: On Jul 18, 2007, at 8:54 PM, Erez Kaplan wrote:On Jul 18, 2007, at 10:00 PM, Terry Lambert wrote:On Jul 18, 2007, at 2:37 AM, Erez Kaplan wrote:Hi,10.4.9+ 10.5How do I obtain a Kernel Recursive mutexe?The available api does not support this.lck_mtx_alloc_init(gmutex_grp_m, LCK_ATTR_NULL)You don't; this is what reference and use counts are for.Can you explain a bit more or give reference to an example. //====================== |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden This email sent to email@hidden
| References: | |
| >Kernel Recursive mutexes 10.4.9 ++ (From: Erez Kaplan <email@hidden>) | |
| >Re: Kernel Recursive mutexes 10.4.9 ++ (From: Terry Lambert <email@hidden>) | |
| >Re: Kernel Recursive mutexes 10.4.9 ++ (From: Erez Kaplan <email@hidden>) | |
| >Re: Kernel Recursive mutexes 10.4.9 ++ (From: Terry Lambert <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.