VirtualBox

Changeset 25627 in vbox


Ignore:
Timestamp:
Jan 3, 2010 4:26:18 PM (15 years ago)
Author:
vboxsync
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/semmutex-win.cpp

    r25624 r25627  
    3939#include "internal/iprt.h"
    4040
     41#include <iprt/asm.h>
    4142#include <iprt/assert.h>
    42 #include <iprt/asm.h>
    4343#include <iprt/err.h>
    4444#include <iprt/lockvalidator.h>
     
    162162    RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf();
    163163    RTNATIVETHREAD hNativeOwner;
    164     ASMAtomicReadHandle(&pThis->hNativeOwner, hNativeOwner);
     164    ASMAtomicReadHandle(&pThis->hNativeOwner, &hNativeOwner);
    165165    if (hNativeOwner == hNativeSelf)
    166166    {
     
    253253    RTNATIVETHREAD hNativeSelf = RTThreadNativeSelf();
    254254    RTNATIVETHREAD hNativeOwner;
    255     ASMAtomicReadHandle(&pThis->hNativeOwner, hNativeOwner);
     255    ASMAtomicReadHandle(&pThis->hNativeOwner, &hNativeOwner);
    256256    if (RT_UNLIKELY(hNativeOwner != hNativeSelf))
    257257    {
     
    301301
    302302    RTNATIVETHREAD hNativeOwner;
    303     ASMAtomicReadHandle(&pThis->hNativeOwner, hNativeOwner);
     303    ASMAtomicReadHandle(&pThis->hNativeOwner, &hNativeOwner);
    304304    return hNativeOwner == NIL_RTNATIVETHREAD;
    305305}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette