Changeset 25656 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Jan 5, 2010 3:39:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/semmutex-win.cpp
r25638 r25656 191 191 #endif 192 192 } 193 intrc = WaitForSingleObjectEx(pThis->hMtx,194 cMillies == RT_INDEFINITE_WAIT ? INFINITE : cMillies,195 TRUE /*bAlertable*/);193 DWORD rc = WaitForSingleObjectEx(pThis->hMtx, 194 cMillies == RT_INDEFINITE_WAIT ? INFINITE : cMillies, 195 TRUE /*fAlertable*/); 196 196 RTThreadUnblocked(hThreadSelf, RTTHREADSTATE_MUTEX); 197 197 switch (rc) … … 209 209 case WAIT_ABANDONED: return VERR_SEM_OWNER_DIED; 210 210 default: 211 AssertMsgFailed(("%u\n", rc)); 212 case WAIT_FAILED: 211 213 { 214 int rc2 = RTErrConvertFromWin32(GetLastError()); 212 215 AssertMsgFailed(("Wait on MutexSem %p failed, rc=%d lasterr=%d\n", MutexSem, rc, GetLastError())); 213 int rc2 = RTErrConvertFromWin32(GetLastError()); 214 if (rc2 != 0) 216 if (rc2 != VINF_SUCCESS) 215 217 return rc2; 216 218
Note:
See TracChangeset
for help on using the changeset viewer.