Changeset 48035 in vbox
- Timestamp:
- Aug 23, 2013 5:29:18 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/solaris/threadctxhooks-r0drv-solaris.c
r47572 r48035 37 37 #include <iprt/err.h> 38 38 #include <iprt/asm.h> 39 #include <iprt/log.h> 39 40 #include "internal/thread.h" 40 41 … … 57 58 void *pvUser; 58 59 /** Whether this handle has any hooks registered or not. */ 59 bool 60 bool volatile fRegistered; 60 61 /** Number of references to this object. */ 61 62 uint32_t volatile cRefs; … … 213 214 Assert(RTThreadPreemptIsEnabled(NIL_RTTHREAD)); 214 215 215 pThis->fRegistered = false;216 ASMAtomicWriteBool(&pThis->fRegistered, false); 216 217 uint32_t cRefs = ASMAtomicDecU32(&pThis->cRefs); 217 218 … … 251 252 rtThreadCtxHooksSolFree); 252 253 } 253 AssertMsg(rc, ("removectx failed. rc=%d\n", rc));254 AssertMsg(rc, ("removectx() failed. rc=%d\n", rc)); 254 255 NOREF(rc); 255 256
Note:
See TracChangeset
for help on using the changeset viewer.