Re: inter-process locks
Re: inter-process locks
- Subject: Re: inter-process locks
- From: Michael Babin <email@hidden>
- Date: Sat, 19 Feb 2011 12:58:38 -0600
On Feb 19, 2011, at 12:29 PM, Alexander Cohen wrote:
> Is there anyway to do interprocess locks using cocoa ( like a Mutex in Win32 )? The best i've found is not cocoa and uses flock but the man pages say its advisory only which is kindof scary.
NSDistributedLock:
<http://developer.apple.com/library/mac/#documentation/cocoa/reference/Foundation/Classes/NSDistributedLock_Class/Reference/Reference.html>
Although I've never used it in practice. The current project I'm working on uses a scheme based on flock.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden