Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Interprocess Locking?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Interprocess Locking?



-----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



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.