Changeset 1d9338a in nscp for include/Mutex.h


Ignore:
Timestamp:
05/23/05 21:24:32 (8 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2, stable
Children:
6654022
Parents:
af5bc4b
Message:

2005-05-23 MickeM

+ Added obfuscated password support
+ Added some more debug info on commands (returncode, and input args)
+ Added some more comments ot the NSC.ini
+ Added central password "override"
+ Added central "host override"
+ Fixed bug with external commands always getting WARNING state

2005-05-22 MickeM

+ Added debug outout for command
+ Added timestamps for log-to-file (date_mask to configure format)
+ Added support for "no password" with check_nt
+ Added log of bad password on NSClient requests.

  • Some threading issues fixed (I hate threading :)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/Mutex.h

    r1e62ed5 r1d9338a  
    101101   */ 
    102102  MutexLock(HANDLE hMutex, DWORD timeout = 5000L) : bHasMutex(false), hMutex_(hMutex) { 
     103    if (hMutex_ == NULL) 
     104      std::cout << "Whops..." << std::endl; 
    103105    assert(hMutex_ != NULL); 
    104106    dwWaitResult = WaitForSingleObject(hMutex_, timeout); 
Note: See TracChangeset for help on using the changeset viewer.