Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 1996 14:01:58 +0900 (JST)
From:      Michael Hancock <michaelh@cet.co.jp>
To:        Terry Lambert <terry@lambert.org>
Cc:        Julian Elischer <julian@whistle.com>, eng@alpo.whistle.com, hackers@freebsd.org
Subject:   Re: flock/sendmail stuffup
Message-ID:  <Pine.SV4.3.93.961001135922.22919D-100000@parkplace.cet.co.jp>
In-Reply-To: <199609301816.LAA06288@phaeton.artisoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 30 Sep 1996, Terry Lambert wrote:

> 8-).  Already there.  flock uses an advisory range lock on the entire
> file -- that's how it operates: it's a simplified special case of fcntl()
> locking.

flock also has better semantics.  I think fcntl() still releases all locks
when any one process closes the file.

Regards,


Mike Hancock




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.93.961001135922.22919D-100000>