On Sat, Jan 22, 2005 at 02:18:05PM +0000, Martin Habets wrote: > I agree locking is neededb but the proposal is not simple enough for me. > Leave the details to the OS and just use fcntl(). Use F_SETLK to set the > lock, and if if that fails use F_GETLK to get the pid of the process > holding the lock. > Given that failure would be a rare event it is enough to report the pid > of the other process. does this work when you have multiple machines and networked file systems? For example, the design is on system A, and you have designers on B and C. B and C access the design files by NFS, AFS, SMBFS, etc.
-Dan --
