VirtualBox

Ignore:
Timestamp:
Jan 28, 2007 8:45:05 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
17974
Message:

Need RTThreadWait in ring-0 too when using the generic timers, so thread.cpp was ported to ring-0. Fixed a bug in RTTimerStart() (the generic code). (hope this doesn't break the other platforms...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/sched-generic.cpp

    r1 r403  
    4141int rtSchedNativeCalcDefaultPriority(RTTHREADTYPE enmType)
    4242{
    43     Assert(enmType > RTTHREADTYPE_INVALID && enmType < RTTHREADTYPE_LAST);
     43    Assert(enmType > RTTHREADTYPE_INVALID && enmType < RTTHREADTYPE_END);
    4444    return VINF_SUCCESS;
    4545}
     
    7676int rtThreadNativeSetPriority(PRTTHREADINT pThread, RTTHREADTYPE enmType)
    7777{
    78     Assert(enmType > RTTHREADTYPE_INVALID && enmType < RTTHREADTYPE_LAST);
     78    Assert(enmType > RTTHREADTYPE_INVALID && enmType < RTTHREADTYPE_END);
    7979    return VINF_SUCCESS;
    8080}
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