Changeset 1958


Ignore:
Timestamp:
08/12/2007 22:02:44 (4 years ago)
Author:
chris
Message:

Log an error if we fail to open the lockfile. (merges [1915] plus local
change).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/chris/general/lib/common/NamedLock.cpp

    r456 r1958  
    33// File 
    44//              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 
    67//              Created: 2003/08/28 
    78// 
     
    5960// Function 
    6061//              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. 
    6365//              Created: 2003/08/28 
    6466// 
     
    9496        if(fd == -1) 
    9597        { 
     98                BOX_WARNING("Failed to open lockfile: " << Filename); 
    9699                THROW_EXCEPTION(CommonException, OSFileError) 
    97100        } 
Note: See TracChangeset for help on using the changeset viewer.