Changeset 5332 for trunk/src/kernel32/hmopen32.cpp
- Timestamp:
- Mar 19, 2001, 8:27:14 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/hmopen32.cpp
r4407 r5332 1 /* $Id: hmopen32.cpp,v 1.2 7 2000-10-03 17:28:30sandervl Exp $ */1 /* $Id: hmopen32.cpp,v 1.28 2001-03-19 19:27:13 sandervl Exp $ */ 2 2 3 3 /* … … 199 199 DWORD dwTimeout) 200 200 { 201 DWORD rc, starttime, endtime; 202 203 dprintfl(("KERNEL32: HandleManager::Open32::WaitForSingleObject(%08xh,%08h)\n", 201 DWORD rc; 202 #ifdef DEBUG 203 DWORD starttime, endtime; 204 #endif 205 206 dprintfl(("KERNEL32: HandleManager::Open32::WaitForSingleObject(%08xh %08xh)\n", 204 207 pHMHandleData->hHMHandle, 205 208 dwTimeout)); 206 209 210 #ifdef DEBUG 207 211 if(dwTimeout) { 208 starttime = O32_GetCurrentTime();212 starttime = O32_GetCurrentTime(); 209 213 } 214 #endif 210 215 rc = (O32_WaitForSingleObject(pHMHandleData->hHMHandle, 211 216 dwTimeout)); 217 #ifdef DEBUG 212 218 if(dwTimeout) { 213 endtime = O32_GetCurrentTime();214 dprintf(("KERNEL32: HandleManager::WaitForSingleObject %x delta = %x (rc=%x)", pHMHandleData->hHMHandle, endtime - starttime, rc));219 endtime = O32_GetCurrentTime(); 220 dprintf2(("KERNEL32: HandleManager::WaitForSingleObject %x %x delta = %x (rc=%x)", pHMHandleData->hHMHandle, dwTimeout, endtime - starttime, rc)); 215 221 } 216 else dprintf(("KERNEL32: HandleManager::WaitForSingleObject %x rc=%x", pHMHandleData->hHMHandle, rc)); 222 else dprintf2(("KERNEL32: HandleManager::WaitForSingleObject %x 0 rc=%x", pHMHandleData->hHMHandle, rc)); 223 #endif 217 224 return rc; 218 225 }
Note:
See TracChangeset
for help on using the changeset viewer.