Dev:CPExclusiveLock

CPExclusiveLock provides system-wide locking through temporary files. You use CPExclusiveLock like any other -conformant classes, e.g.

A CPExclusiveLock will create a temporary file in. If the name is given, it will be used as the filename. When the lock is acquired, the object will open the temporary file with  mode.