Changeset 1958
- Timestamp:
- 08/12/2007 22:02:44 (4 years ago)
- File:
-
- 1 edited
-
box/chris/general/lib/common/NamedLock.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/chris/general/lib/common/NamedLock.cpp
r456 r1958 3 3 // File 4 4 // Name: NamedLock.cpp 5 // Purpose: A global named lock, implemented as a lock file in file system 5 // Purpose: A global named lock, implemented as a lock file in 6 // file system 6 7 // Created: 2003/08/28 7 8 // … … 59 60 // Function 60 61 // Name: NamedLock::TryAndGetLock(const char *, int) 61 // Purpose: Trys to get a lock on the name in the file system. 62 // IMPORTANT NOTE: If a file exists with this name, it will be deleted. 62 // Purpose: Tries to get a lock on the name in the file system. 63 // IMPORTANT NOTE: If a file exists with this name, it 64 // will be deleted. 63 65 // Created: 2003/08/28 64 66 // … … 94 96 if(fd == -1) 95 97 { 98 BOX_WARNING("Failed to open lockfile: " << Filename); 96 99 THROW_EXCEPTION(CommonException, OSFileError) 97 100 }
Note: See TracChangeset
for help on using the changeset viewer.
