VirtualBox

Changeset 63530 in vbox for trunk


Ignore:
Timestamp:
Aug 16, 2016 9:55:30 AM (8 years ago)
Author:
vboxsync
Message:

thread-posix.cpp: better assertion.

File:
1 edited

Legend:

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

    r62570 r63530  
    294294    PRTTHREADINT  pThread = (PRTTHREADINT)pvArgs;
    295295    pthread_t     Self    = pthread_self();
    296     Assert((uintptr_t)Self == (RTNATIVETHREAD)Self && (uintptr_t)Self != NIL_RTNATIVETHREAD);
     296    Assert((uintptr_t)Self != NIL_RTNATIVETHREAD);
     297    Assert(Self == (pthread_t)(RTNATIVETHREAD)Self);
    297298
    298299#if defined(RT_OS_LINUX)
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