Write locks in Acedb

Henry J. Cobb hcobb at fly2.berkeley.edu
Thu Sep 23 12:59:46 EST 1993


	The semaphore system in Acedb seems to be slightly misused, and
anyway won't scale over NFS mounts.

	NFS guarantees only one atomic action (without the presence of
lockd, which is not universal):  File creation.

	So is there any objection to throwing out the Semaphores and other
junk and replacing this with a simple:

	open( lockfile, O_RDWR | O_CREATE | O_EXCL) or fail in
sessionClose()?
--
	Henry J. Cobb	hcobb at fly2.berkeley.edu	SFB Tyrant




More information about the Acedb mailing list