Description
Create an advisory lock file, containing the pid of the current process. The lock file's name will be the name of the file being locked with a '.' prepended.
Parameters
- filename (of the file being locked)
Returns
Example
See the
TiddlyWeb text
store for details.
Notes
This is used by the text store to prevent concurrent writes to the same tiddler (to preserve revision handling).