• 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
Interprocess Locking?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Interprocess Locking?


  • Subject: Interprocess Locking?
  • From: Duane Murphy <email@hidden>
  • Date: Wed, 04 Nov 2009 10:54:46 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I'm looking for a good solution for interprocess system wide locking.

I have two programs (with multiple users, it could be even more), that
need to coordinate handling of a system wide event (disk mounting).

I have a solution in mind using named semaphores. Is that the best
solution or are there other suggestions or techniques I should look
at? Anything I should be aware of using named semaphores?

Thanks,

  ...Duane




-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.10.0 (Build 500)
Charset: US-ASCII

wsBVAwUBSvHN/Erg9acQ4r2CAQhNTQgAj8t8/nl7tSSh816wL3B86okhO/8R9r+n
E+LdsiMxHYOHvfasXtgbBAkASMBIRNOWM84qCdetrJDL0EIPM4EdzJF3v2TEOWp+
bz7VTSPifhkY5MWjR3DK+fh6ei8AUaCKFef1yHvO4LkOdzp5eYKL/7JWCEyLj9Nz
v0lALPpJzUTkPPaaOs4Uj8brUIwSjZ3i0yr2oDOjX0uUdDVxBxqgAsOz4ffRtsit
5I3TEdU3NJhobhiBFDP7/3+WvzkFYUx6pOQRF1Y3DaARtY616o3CPIuYnLio2TPW
zcNbcELBQBms6AW662bPUIVakkBHXGiLpqKSNFNlPFJcEz4WZmStVw==
=aWEd
-----END PGP SIGNATURE-----
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Identifying sparse files using getattrlist()
  • Next by Date: file offset of __DATA, __bss and __common
  • Previous by thread: IPFW forwarding on SnowLeopard
  • Next by thread: file offset of __DATA, __bss and __common
  • Index(es):
    • Date
    • Thread