Changeset 19989 in vbox
- Timestamp:
- May 25, 2009 10:39:22 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/critsect-generic.cpp
r13837 r19989 455 455 * In case someone is waiting we'll signal the semaphore cLockers + 1 times. 456 456 */ 457 ASMAtomic XchgU32(&pCritSect->u32Magic, 0);457 ASMAtomicWriteU32(&pCritSect->u32Magic, ~RTCRITSECT_MAGIC); 458 458 pCritSect->fFlags = 0; 459 459 pCritSect->cNestings = 0; … … 463 463 while (pCritSect->cLockers-- >= 0) 464 464 RTSemEventSignal(EventSem); 465 ASMAtomic XchgS32(&pCritSect->cLockers, -1);465 ASMAtomicWriteS32(&pCritSect->cLockers, -1); 466 466 int rc = RTSemEventDestroy(EventSem); 467 467 AssertRC(rc);
Note:
See TracChangeset
for help on using the changeset viewer.