VirtualBox

忽略:
時間撮記:
2009-9-21 上午09:53:51 (15 年 以前)
作者:
vboxsync
訊息:

Remove the poke DPC from the queue if RTThreadPreemptIsPending is not working properly.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/r0drv/nt/mp-r0drv-nt.cpp

    r23065 r23173  
    380380    return VINF_SUCCESS;
    381381}
     382
     383void rtMpPokeCpuClear()
     384{
     385    RTCPUID idCpu = RTMpCpuId();
     386
     387    /* Remove any pending poke DPC from the queue, so another call to RTMpPokeCpu will send an IPI */
     388    /* Note: assuming this is a cheap operation. */
     389    KeRemoveQueueDpc(&aPokeDpcs[idCpu]);
     390}
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette