WfpSampler流注入同步 [英] WfpSampler stream inject synchronization

查看:124
本文介绍了WfpSampler流注入同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

推荐答案

这不是完全序列化的。为了完成序列化,对于DPC,您需要将处理固定到单个CPU(KeSetT) argetProcessorDpc)。

This is not fully serialized. In order to finish serializing, for DPCs, you need to pin the processing to a single CPU (KeSetTargetProcessorDpc).

对于工作项,您需要确保只有1个线程正在处理队列。 这是通过在WorkItemRoutine期间使用等待锁来完成的,以确保当前线程没有其他工作线程可以处理队列。

For the workitem, you need to ensure only 1 thread is processing on the queue.  This is done by using a wait lock during the WorkItemRoutine, to ensure no other worker thread can process the queue while the current thread is.

这将在下一滴WFPSampler中修复

This will be fixed in the next drop of the WFPSampler

希望这会有所帮助,


这篇关于WfpSampler流注入同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆