VirtualBox

Changeset 23124 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Sep 18, 2009 11:52:32 AM (15 years ago)
Author:
vboxsync
Message:

IPRT: Added RTThreadIsMain().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/thread.h

    r22614 r23124  
    379379
    380380/**
     381 * Checks if the specified thread is the main thread.
     382 *
     383 * @returns true if it is, false if it isn't.
     384 *
     385 * @param   hThread     The thread handle.
     386 */
     387RTDECL(bool) RTThreadIsMain(RTTHREAD hThread);
     388
     389/**
    381390 * Signal the user event.
    382391 *
     
    487496    /** The Old PIL. Don't touch! */
    488497    uint32_t        uOldPil;
    489 # define RTTHREADPREEMPTSTATE_INITIALIZER { NIL_RTCPUID, UINT32_MAX } 
     498# define RTTHREADPREEMPTSTATE_INITIALIZER { NIL_RTCPUID, UINT32_MAX }
    490499#else
    491500    /** Reserved, MBZ. */
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