VirtualBox

Changeset 77099 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Feb 1, 2019 10:22:42 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128556
Message:

VMReq.cpp: clang compile fix, use ASMAtomicWriteNullPtr instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/VMReq.cpp

    r76553 r77099  
    670670            Assert(pReq->enmState == VMREQSTATE_FREE);
    671671            Assert(pReq->pUVM == pUVM);
    672             ASMAtomicXchgSize(&pReq->pNext, NULL);
     672            ASMAtomicWriteNullPtr(&pReq->pNext);
    673673            pReq->enmState = VMREQSTATE_ALLOCATED;
    674674            pReq->iStatus  = VERR_VM_REQUEST_STATUS_STILL_PENDING;
Note: See TracChangeset for help on using the changeset viewer.

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