FileLock 1998

Tcl Package to deal with filelocking problems.

Version 1.0 Solaris 2.6 Binary Linux 2.0 Binary

Notes

This package was developed to avoid DeadLock / LiveLock or even just basic data corruption in a multi-process TCL environment . When two processes are in competition for a resource this package may be used to lock the resource and hence avoid data corruption. There are no instructions in with this package just load this package into your Tcl program using the "package require" functionality. The functions available within this package can be found in the associated Tcl file.

N.B this does not guarantee the avoidance of dead lock if the process holding the lock crashes before the lock is released that resource will remain locked until explicitly unlocked by the hand. (I guess this could be improved using time outs may be in another version)

Martin Bramley (2006)