[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] lockfiles revisited
Joerg Dietrich schrieb am Mittwoch, den 14. Februar 2001:
> Which unlink? Process open()s groupinfo, acquieres exclusive
> fcntl() lock, does whatever there is to do, releases fcntl()
> lock. Can be as fine grained as you want, i.e. open(),
> fcntl(), rereadactive(), dostuff(),writeactive(), close(),
> anytime, anywhere in the calling program.
The "unlocking" unlinks (that remove the lock file). Still, open/fcntl
is dangerous for O_TRUNC or something.
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list