Log of /trunk/io/io/inc/TLockFile.h
Parent Directory
Revision
19124 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Fri Jun 22 08:55:26 2007 UTC (7 years, 7 months ago) by
rdm
Original Path:
trunk/thread/inc/TLockFile.h
File length: 2356 byte(s)
From Jan-Fiete:
new class TLockFile that uses a file for locking.
Use it in scope-blocks like:
{
TLockFile lock("path.to.lock.file");
// do something you need the lock for
} // lock is automatically released
Since the lock file is created using TFile::Open() it can be placed
on remote file systems.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.