[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to determine that UNIX Advisory lock availability
From: |
Richard Bos |
Subject: |
Re: how to determine that UNIX Advisory lock availability |
Date: |
Sun, 3 Aug 2003 20:55:10 +0200 |
User-agent: |
KMail/1.5 |
Paul, Thamer and Russ thank you for providing your thoughts and tips about how
to deal with this issue.
Op zondag 3 augustus 2003 04:14, schreef Russ Allbery:
> Richard Bos <address@hidden> writes:
> > No one? No hint, advice or what so ever...?
>
> Most all the code I've worked with assumes that fcntl locking is available
> if fcntl is available. If you need to support pre-POSIX systems, you
> should fall back on flock and lockf in that order, but these days, it's
> pretty safe to assume that any Unix system has fcntl.
>
> I don't know anything about Windows in this area.
--
Richard Bos
Without a home the journey is endless