VirtualBox

Changeset 20124 in vbox for trunk/src/VBox/Runtime/r0drv/nt


Ignore:
Timestamp:
May 28, 2009 3:40:06 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
47891
Message:

IPRT,SUP: Minor driver version change - added RTThreadPreemptIsPendingTrusty (for Windows and Darwin were we're doing really ugly stuff).

File:
1 edited

Legend:

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

    r19969 r20124  
    148148
    149149
     150RTDECL(bool) RTThreadPreemptIsPendingTrusty(void)
     151{
     152    /* RTThreadPreemptIsPending is only reliable of we've got both offsets and size. */
     153    return offQuantumEnd    != 0
     154        && cbQuantumEnd     != 0
     155        && offDpcQueueDepth != 0;
     156}
     157
     158
    150159RTDECL(void) RTThreadPreemptDisable(PRTTHREADPREEMPTSTATE pState)
    151160{
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