Changeset 1d9338a in nscp for include/Mutex.h
- Timestamp:
- 05/23/05 21:24:32 (8 years ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2, stable
- Children:
- 6654022
- Parents:
- af5bc4b
- File:
-
- 1 edited
-
include/Mutex.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
include/Mutex.h
r1e62ed5 r1d9338a 101 101 */ 102 102 MutexLock(HANDLE hMutex, DWORD timeout = 5000L) : bHasMutex(false), hMutex_(hMutex) { 103 if (hMutex_ == NULL) 104 std::cout << "Whops..." << std::endl; 103 105 assert(hMutex_ != NULL); 104 106 dwWaitResult = WaitForSingleObject(hMutex_, timeout);
Note: See TracChangeset
for help on using the changeset viewer.








