Locking sav files [message #55284] |
Wed, 08 August 2007 00:53 |
Robbie
Messages: 165 Registered: February 2006
|
Senior Member |
|
|
Hi,
I've been experimenting with locking sav files.
* A process should not interrupt another processes attempt to modify a
sav file.
* Each process deals with copies of their sav files until they call
"commit"
* If a process if blocked from committing its sav files then it should
enter a queue (FIFO)
* A process will wait on the queue until it can commit or there is a
timeout
* There is a maximum number of active processes (default: 8) and size
of the commit queue (default: 4)
* The system must work equally well regardless of backing store
(NTFS,FAT32,Samba,NFS)
The source code is available at http://barnett.id.au/idl/ .
Any thoughts or comments?
Robbie
|
|
|