Changeset 8645 in vbox for trunk/src/VBox/Runtime/generic
- Timestamp:
- May 7, 2008 11:01:00 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 30576
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/critsect-generic.cpp
r8245 r8645 46 46 * in order to get the RT thread structure there and this tree is 47 47 * protected by a critsect atm. 48 * @todo the L4 exclusion is no longer true, we've been using TLS for storing this for quite a while now. 48 49 */ 49 50 #if !defined(RTCRITSECT_STRICT) && defined(RT_STRICT) && !defined(RT_OS_L4) … … 353 354 pCritSect->Strict.uEnterId = uId; 354 355 ASMAtomicXchgSize(&pCritSect->Strict.ThreadOwner, (RTUINTPTR)ThreadSelf); /* screw gcc and its pedantic warnings. */ 356 RTThreadWriteLockInc(ThreadSelf); 355 357 #endif 356 358 … … 389 391 */ 390 392 #ifdef RTCRITSECT_STRICT 393 RTThreadWriteLockDec(pCritSect->Strict.ThreadOwner); 391 394 ASMAtomicXchgSize(&pCritSect->Strict.ThreadOwner, NIL_RTTHREAD); 392 395 #endif
Note:
See TracChangeset
for help on using the changeset viewer.