wangyp8
驱动牛犊
驱动牛犊
  • 注册日期2002-02-27
  • 最后登录2004-10-12
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1363回复:1

NDIS高手求教,关于SPIN LOCK的应用?

楼主#
更多 发布于:2002-03-18 15:03
关于SPIN LOCK的应用不是太了解,
Attempted acquisition of a spin lock temporarily raises the IRQL of the requesting thread to the IRQL associated with the spin lock. This prevents all lower IRQL threads on the same processor from preempting the executing thread. Threads, on the same processor, running at a higher IRQL can preempt the executing thread, but these threads cannot acquire the spin lock because it has a lower IRQL.

这段话如何理解??  这在DDK里面。

最新喜欢:

baoyibao99baoyib...
Fly!
guardee
驱动巨牛
驱动巨牛
  • 注册日期2002-11-08
  • 最后登录2010-05-29
  • 粉丝2
  • 关注1
  • 积分2分
  • 威望34点
  • 贡献值0点
  • 好评度6点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2002-03-18 19:23
大概的意思是当请求了spin lock之后,IRQL的值会提升了,而释放spin lock之后就会降低IRQL,而在获得spin lock的期间要注意一些函数的运行IRQL
游客

返回顶部