VirtualBox

Changeset 30112 in vbox for trunk/src/VBox/Runtime/r3/posix


Ignore:
Timestamp:
Jun 9, 2010 12:31:50 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62507
Message:

iprt/asm.h,*: Added ASMAtomicWriteNullPtr and ASMAtomicUoWriteNullPtr to better deal with NULL being 0 in C++.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/fileaio-posix.cpp

    r30111 r30112  
    493493        AssertRC(rc);
    494494
    495         ASMAtomicWritePtr(&pCtxInt->pReqToCancel, NULL);
     495        ASMAtomicWriteNullPtr(&pCtxInt->pReqToCancel);
    496496        pReqInt->Rc = VERR_FILE_AIO_CANCELED;
    497497        RTFILEAIOREQ_SET_STATE(pReqInt, COMPLETED);
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