VirtualBox

Ignore:
Timestamp:
May 22, 2009 4:59:17 PM (16 years ago)
Author:
vboxsync
Message:

iprt/solaris: A quick shot at RTThreadPreemptIsPending.

File:
1 edited

Legend:

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

    r13254 r19917  
    104104
    105105
     106RTDECL(bool) RTThreadPreemptIsPending(RTTHREAD hThread)
     107{
     108    Assert(hThread == NIL_RTTHREAD);
     109    /** @todo Review this! */
     110    return CPU->cpu_runrun   != 0
     111        || CPU->cpu_kprunrun != 0;
     112}
     113
     114
    106115RTDECL(void) RTThreadPreemptDisable(PRTTHREADPREEMPTSTATE pState)
    107116{
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