Christopher Brown
8/14/2006 4:12:00 AM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sorry to jump in on the thread like this...
John are you using flock because it's the easiest & most available
way to sync across processes? If you had easier access to one of the
other sync primitives, would you be using it (i.e. a mutex)?
I'm just wondering what the dominant pattern is, and if we are using
it because something better hasn't come along.
Peace,
Chris
On 14 Aug 2006, at 5:57 AM, John Carter wrote:
> On Mon, 14 Aug 2006, Francis Cianfrocca wrote:
>
>> Don't worry about leaving lock files around. If you really don't
>> like it,
>> put it in /tmp or /dev/shm.
>
> Sigh! Just seems so...messy.
>
> Sigh! I even thought of using whatever "fuser -v" uses, but strace
> tells
> me it scans /proc! And that's gives me worse aesthetic collywobbles.
>
>
> John Carter Phone : (64)(3) 358 6639
> Tait Electronics Fax : (64)(3) 359 4632
> PO Box 1645 Christchurch Email : john.carter@tait.co.nz
> New Zealand
>
> Carter's Clarification of Murphy's Law.
>
> "Things only ever go right so that they may go more spectacularly
> wrong later."
>
> From this principle, all of life and physics may be deduced.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFE3/fZrOGxDZoCCzURAiyiAJ95KDkPwOh54dSChGvFHEN1Eu8GqwCdGBCM
n5wt4dgBkie9fZIeJhnL0Kg=
=Xxgx
-----END PGP SIGNATURE-----