chariot
游客
游客
阅读:1905回复:4

vxd-wdm?求助!急!!!

楼主#
更多 发布于:2001-04-02 20:31
小弟使用vtoolsd创建了一ring0级线程 (irql=0x0b)
在其中使用呢NTKERN调用底下的现成的WDM驱动IO操作。
在我的线程使用了一个信号量同步,开始没有问题,
当运行一段时间后这个信号量waiting.......!_!
经查此时用户线程和NTKERN的callback线程都有
置此信号量,但不能唤醒。用soft-ice查不存在死锁,
另和中断优先级无关,(
提升和降低此线程和信号量的中断优先级对结果不
产生影响),如有此方面经验望告知,不胜感激。
或call 13655812647。---chariot
rayyang2000
管理员
管理员
  • 注册日期2001-03-23
  • 最后登录2012-09-13
  • 粉丝3
  • 关注0
  • 积分1036分
  • 威望925点
  • 贡献值3点
  • 好评度823点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2001-04-02 21:14
能不能贴一下你产生线程代码?我也曾经试图在vxd里面产生线程但总是不能成功返回。谢谢!
天天coding-debugging中----超稀饭memory dump file ======================================================== [b]Windows Device Driver Development and Consulting Service[/b] [color=blue][url]http://www.ybwork.com[/url][/color] ========================================================
rayyang2000
管理员
管理员
  • 注册日期2001-03-23
  • 最后登录2012-09-13
  • 粉丝3
  • 关注0
  • 积分1036分
  • 威望925点
  • 贡献值3点
  • 好评度823点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2001-04-06 14:00
Yes, I've set this parameter to FALSE. But after my startFunction returns, the system crashes. I don't know why. This start function is empty and does nothing.
天天coding-debugging中----超稀饭memory dump file ======================================================== [b]Windows Device Driver Development and Consulting Service[/b] [color=blue][url]http://www.ybwork.com[/url][/color] ========================================================
rayyang2000
管理员
管理员
  • 注册日期2001-03-23
  • 最后登录2012-09-13
  • 粉丝3
  • 关注0
  • 积分1036分
  • 威望925点
  • 贡献值3点
  • 好评度823点
  • 原创分0分
  • 专家分0分
地板#
发布于:2001-04-09 10:09
But my thread doesn't do anything! Even no a variable! So as it returns, there is no resources should be freed.
Too strange...............
天天coding-debugging中----超稀饭memory dump file ======================================================== [b]Windows Device Driver Development and Consulting Service[/b] [color=blue][url]http://www.ybwork.com[/url][/color] ========================================================
RED_spring
驱动中牛
驱动中牛
  • 注册日期2002-07-28
  • 最后登录2016-11-06
  • 粉丝0
  • 关注0
  • 积分3分
  • 威望19点
  • 贡献值0点
  • 好评度17点
  • 原创分0分
  • 专家分0分
  • 社区居民
地下室#
发布于:2003-05-25 18:14
up
游客

返回顶部