VirtualBox

Ignore:
Timestamp:
Aug 28, 2009 4:34:38 PM (15 years ago)
Author:
vboxsync
Message:

RTThreadIsInInterrupt/solaris: Use servicing_interrupt().

File:
1 edited

Legend:

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

    r22477 r22558  
    150150RTDECL(bool) RTThreadIsInInterrupt(RTTHREAD hThread)
    151151{
    152     /* This is the best we currently can do here. :-( */
    153     return !RTThreadPreemptIsEnabled(hThread)
    154         && getpil() > 0;
     152    Assert(hThread == NIL_RTTHREAD);
     153    return servicing_interrupt() ? true : false;
    155154}
    156155
    157 
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