Changeset 20273 in vbox
- Timestamp:
- Jun 4, 2009 12:16:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/thread.cpp
r20008 r20273 634 634 ASMAtomicWriteSize(&pThread->enmState, RTTHREADSTATE_RUNNING); 635 635 rc = pThread->pfnThread(pThread, pThread->pvUser); 636 637 /* 638 * Paranoia checks for leftover resources. 639 */ 640 #ifdef RTSEMRW_STRICT 641 int32_t cWrite = ASMAtomicReadS32(&pThread->cWriteLocks); 642 Assert(!cWrite); 643 int32_t cRead = ASMAtomicReadS32(&pThread->cReadLocks); 644 Assert(!cRead); 645 #endif 636 646 637 647 Log(("rtThreadMain: Terminating: rc=%d pThread=%p NativeThread=%RTnthrd Name=%s pfnThread=%p pvUser=%p\n",
Note:
See TracChangeset
for help on using the changeset viewer.