Changeset 25398 in vbox for trunk/src/VBox/Runtime/generic
- Timestamp:
- Dec 15, 2009 12:58:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/critsect-generic.cpp
r25373 r25398 321 321 for (;;) 322 322 { 323 RT ThreadBlocking(hThreadSelf, RTTHREADSTATE_CRITSECT, RTCRITSECT_STRICT_BLOCK_ARGS(pCritSect->pValidatorRec));323 RTCRITSECT_STRICT_BLOCK(hThreadSelf, pCritSect->pValidatorRec, !(pCritSect->fFlags & RTCRITSECT_FLAGS_NO_NESTING)); 324 324 int rc = RTSemEventWait(pCritSect->EventSem, RT_INDEFINITE_WAIT); 325 RT ThreadUnblocked(hThreadSelf, RTTHREADSTATE_CRITSECT);325 RTCRITSECT_STRICT_UNBLOCK(hThreadSelf); 326 326 if (pCritSect->u32Magic != RTCRITSECT_MAGIC) 327 327 return VERR_SEM_DESTROYED;
Note:
See TracChangeset
for help on using the changeset viewer.