VirtualBox

Ignore:
Timestamp:
Aug 24, 2009 9:35:43 AM (15 years ago)
Author:
vboxsync
Message:

RTThreadPreemptIsEnabled: fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/vbi/thread-r0drv-solaris.c

    r22387 r22407  
    8383    Assert(hThread == NIL_RTTHREAD);
    8484    if (    vbi_is_preempt_enabled()
    85         &&  ASMIntAreEnabled())
    86         return true;
    87     if (getpil() < DISP_LEVEL)
     85        &&  ASMIntAreEnabled()
     86        &&  getpil() < DISP_LEVEL)
    8887        return true;
    8988    return false;
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