Handling IRPs 9: Summary of Guidelines for Pending IRPs
来源:互联网 发布:金蝶软件连接数据库 编辑:程序博客网 时间:2024/06/08 03:01
smmary of Guidelines for Pending IRPs
Driver writers must follow certain guidelines when handling IRPs for which STATUS_PENDING can be returned. Ignoring these guidelines may cause post-processing to occur twice, resulting in a system crash, or prevent post-processing from occurring, resulting in a system hang.
The following are the fundamental guidelines for returning STATUS_PENDING:
· If a driver returns STATUS_PENDING, it must first call the IoMarkIrpPending macro to mark the I/O stack location aspending.
· Conversely, if a driver calls IoMarkIrpPending, it must return STATUS_PENDING.
In addition:
· If a driver returns the same status as the next lower driver and sets an IoCompletion routine, theIoCompletion routine must call IoMarkIrpPending if the value of theIrp->PendingReturned field is TRUE.
If a driver completes an I/O request on a different thread from that on which it received the request, its dispatch routine orIoCompletion routine must call IoMarkIrpPending and its dispatch routine must return STATUS_PENDING.- Handling IRPs 9: Summary of Guidelines for Pending IRPs
- Handling IRPs 8: Propagating the Pending Bit
- handling IRPs 15: Building IRPs
- Handling IRPs: Introduction
- Handling IRPs 10: Optimizations
- Handling IRPs 11: Life Cycle of a File Object
- Handling IRPs 4: Completing an IRP
- Handling IRPs 5: Synchronous I/O Responses
- Handling IRPs 6: Asynchronous I/O Responses
- handling IRPs 12: Data Transfer Mechanisms
- handling IRPs 16: Debugging I/O Problems
- Different ways of handling IRPs - cheat sheet (part 2 of 2)
- Handling IRPs: Definition 1: IRP as a Container for an I/O Request
- handling IRPs 14: Success, Error, and Warning Status for IRP Completion
- Handling IRPs: What Every Driver Writer Needs to Know -翻译
- Handling IRPs 7: IoCompletion Routines and Asynchronous I/O Responses
- handling IRPs 13: I/O Control Codes (IOCTLs)
- handling IRPs 17: Call to Action and Resources
- Handling IRPs 7: IoCompletion Routines and Asynchronous I/O Responses
- Handling IRPs 8: Propagating the Pending Bit
- 解决flex4 spark 找不到外观错误
- FastReport的使用
- 线性回归 最小二乘 梯度下降 随机梯度下降
- Handling IRPs 9: Summary of Guidelines for Pending IRPs
- s3c6410 内存分配表
- Jsp和PHP共用80端口,整合Apache和Tomcat
- RTSP的例子终于跑通了,后面再花点时间梳理下,RTSP协议的学习就可以告一段落了,下一站SIP协议!~加油
- Lib-SVM使用说明
- Handling IRPs 10: Optimizations
- 十个iOS面试问题
- 在网站目录后添加反斜杠
- STL学习笔记