VirtualBox

Changeset 22418 in vbox for trunk/include


Ignore:
Timestamp:
Aug 24, 2009 3:47:01 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51399
Message:

IPRT: RTThreadPreemptDisble/Restore must work the SPL/PIL as well for the code to work reliably on S10.

File:
1 edited

Legend:

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

    r22150 r22418  
    475475    RTCPUID         idCpu;
    476476#ifdef RT_OS_WINDOWS
    477     /** The old IRQL. Don't touch. */
     477    /** The old IRQL. Don't touch! */
    478478    unsigned char   uchOldIrql;
    479479    /** Reserved, MBZ. */
     
    484484    uint8_t         bReserved3;
    485485# define RTTHREADPREEMPTSTATE_INITIALIZER { NIL_RTCPUID, 255, 0, 0, 0 }
     486#elif defined(RT_OS_SOLARIS)
     487    /** The old PIL. Don't touch! */
     488    uint32_t        uOldPil;
     489# define RTTHREADPREEMPTSTATE_INITIALIZER { NIL_RTCPUID, UINT32_MAX }
    486490#else
    487491    /** Reserved, MBZ. */
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