Changeset 24014 in vbox for trunk/src/VBox
- Timestamp:
- Oct 23, 2009 8:35:04 AM (15 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/nt/mp-r0drv-nt.cpp
r23861 r24014 41 41 #include "r0drv/mp-r0drv.h" 42 42 #include "internal-r0drv-nt.h" 43 #include "internal/mp.h"44 43 45 44 … … 415 414 return (bRet == TRUE) ? VINF_SUCCESS : VERR_ACCESS_DENIED /* already queued */; 416 415 } 417 418 void rtMpPokeCpuClear()419 {420 if (!fPokeDPCsInitialized)421 return;422 423 RTCPUID idCpu = RTMpCpuId();424 425 /* Remove any pending poke DPC from the queue, so another call to RTMpPokeCpu will send an IPI */426 /* Note: assuming this is a cheap operation. */427 KeRemoveQueueDpc(&aPokeDpcs[idCpu]);428 } -
trunk/src/VBox/Runtime/r0drv/nt/thread-r0drv-nt.cpp
r23176 r24014 34 34 #include "the-nt-kernel.h" 35 35 #include "internal/iprt.h" 36 #include "internal/mp.h"37 36 #include <iprt/thread.h> 38 37 … … 94 93 { 95 94 Assert(hThread == NIL_RTTHREAD); 96 97 /* Remove any pending poke DPC from the queue, so another call to RTMpPokeCpu will send an IPI98 * Also do this so we don't exit from ring 0 for the poke DPC (which does nothing).99 */100 rtMpPokeCpuClear();101 95 102 96 /*
Note:
See TracChangeset
for help on using the changeset viewer.