Simple File/Folder Lock Management
Operating System Abstraction

This group contains the definition of a GWEN_FSLOCK.

This group contains the definition of a GWEN_FSLOCK.

The files in this group provide a very simple lock mechanism. When a file is to be locked a lockfile is created exclusively. If this lockfile can not be created exclusively (because it already exists) the file is assumed to be locked. This group can lock files and folders. For folders the lockfile name consists of the foldername plus "/.dir.lck", for files it is the filename plus ".lck". This only works if you have write-access to the folder or, if locking a file, to the folder containing the file to be locked.