VirtualBox

Changeset 49287 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Oct 25, 2013 12:27:58 PM (11 years ago)
Author:
vboxsync
Message:

thread-r0drv-nt.cpp: Changed RTThreadPreemptIsPendingTrusty to always return false as it appears that RTThreadPreemptIsPending isn't good enough for at least W7+.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/nt/thread-r0drv-nt.cpp

    r48935 r49287  
    161161RTDECL(bool) RTThreadPreemptIsPendingTrusty(void)
    162162{
     163#if 0 /** @todo RTThreadPreemptIsPending isn't good enough on w7 and possibly elsewhere. */
    163164    /* RTThreadPreemptIsPending is only reliable if we've got both offsets and size. */
    164165    return g_offrtNtPbQuantumEnd    != 0
    165166        && g_cbrtNtPbQuantumEnd     != 0
    166167        && g_offrtNtPbDpcQueueDepth != 0;
     168#else
     169    return false;
     170#endif
    167171}
    168172
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