On Fri, Jul 25, 2003 at 03:20:16PM +0000, Travis Whitton wrote:
> Flock only works within the same process. 

Not true.  You can have many different programs in many different
languages running as independent processes all using flock to
manage access to one or more files.  However, flock is only an
*advisory* lock.  It locks files so that no other process can
access them, IF that other process is bothering to use flock. 

There is no *mandatory* file locking mechanism on UNIX.
It's always possible to just ignore any locks and open a file
for writing.

-Mark