VirtualBox

Changeset 19917 in vbox for trunk/src/VBox


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

iprt/solaris: A quick shot at RTThreadPreemptIsPending.

Location:
trunk/src/VBox/Runtime/r0drv/solaris
Files:
2 edited

Legend:

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

    r13262 r19917  
    113113
    114114
     115RTDECL(bool) RTThreadPreemptIsPending(RTTHREAD hThread)
     116{
     117    Assert(hThread == NIL_RTTHREAD);
     118    /** @todo Review this! */
     119    return CPU->cpu_runrun   != 0
     120        || CPU->cpu_kprunrun != 0;
     121}
     122
     123
    115124RTDECL(void) RTThreadPreemptDisable(PRTTHREADPREEMPTSTATE pState)
    116125{
  • 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