VirtualBox

Changeset 23176 in vbox


Ignore:
Timestamp:
Sep 21, 2009 9:58:32 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52600
Message:

Also unqueue the poke dpc.

File:
1 edited

Legend:

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

    r23174 r23176  
    9595    Assert(hThread == NIL_RTTHREAD);
    9696
     97    /* Remove any pending poke DPC from the queue, so another call to RTMpPokeCpu will send an IPI
     98     * Also do this so we don't exit from ring 0 for the poke DPC (which does nothing).
     99     */
     100    rtMpPokeCpuClear();
     101
    97102    /*
    98103     * Read the globals and check if they are useful.
     
    102107    uint32_t const offDpcQueueDepth  = g_offrtNtPbDpcQueueDepth;
    103108    if (!offQuantumEnd && !cbQuantumEnd && !offDpcQueueDepth)
    104     {
    105         /* Remove any pending poke DPC from the queue, so another call to RTMpPokeCpu will send an IPI */
    106         rtMpPokeCpuClear();
    107109        return false;
    108     }
    109110    Assert((offQuantumEnd && cbQuantumEnd) || (!offQuantumEnd && !cbQuantumEnd));
    110111
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