Changeset 25627 in vbox
- Timestamp:
- Jan 3, 2010 4:26:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/semmutex-win.cpp
r25624 r25627 39 39 #include "internal/iprt.h" 40 40 41 #include <iprt/asm.h> 41 42 #include <iprt/assert.h> 42 #include <iprt/asm.h>43 43 #include <iprt/err.h> 44 44 #include <iprt/lockvalidator.h> … … 162 162 RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf(); 163 163 RTNATIVETHREAD hNativeOwner; 164 ASMAtomicReadHandle(&pThis->hNativeOwner, hNativeOwner);164 ASMAtomicReadHandle(&pThis->hNativeOwner, &hNativeOwner); 165 165 if (hNativeOwner == hNativeSelf) 166 166 { … … 253 253 RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf(); 254 254 RTNATIVETHREAD hNativeOwner; 255 ASMAtomicReadHandle(&pThis->hNativeOwner, hNativeOwner);255 ASMAtomicReadHandle(&pThis->hNativeOwner, &hNativeOwner); 256 256 if (RT_UNLIKELY(hNativeOwner != hNativeSelf)) 257 257 { … … 301 301 302 302 RTNATIVETHREAD hNativeOwner; 303 ASMAtomicReadHandle(&pThis->hNativeOwner, hNativeOwner);303 ASMAtomicReadHandle(&pThis->hNativeOwner, &hNativeOwner); 304 304 return hNativeOwner == NIL_RTNATIVETHREAD; 305 305 }
Note:
See TracChangeset
for help on using the changeset viewer.