ISR和DPC
2016-03-17 17:53
471 查看
ISR:Interrupt Service Routines (中断服务例程
必须马上做的事情,比如硬件中断,响应鼠标点击
DPC:Deferred Procedure Call Details(延迟过程调用
可以推迟做的事情,比如大数据拷贝,U盘拷贝电影。
APC: Asynchronous Procedure Calls(异步过程调用
An asynchronous procedure call (APC) is a function that executes asynchronously in the context of a particular thread. When an APC is queued to a thread, the system issues a software interrupt. The next time the thread is scheduled, it will run the APC function. An APC generated by the system is called a kernel-mode APC. An APC generated by an application is called a user-mode APC. A thread must be in an alertable state to run a user-mode APC.
IRQL
Deferred Procedure Call Details(延迟过程调用详解)
Asynchronous Procedure Calls
必须马上做的事情,比如硬件中断,响应鼠标点击
DPC:Deferred Procedure Call Details(延迟过程调用
可以推迟做的事情,比如大数据拷贝,U盘拷贝电影。
APC: Asynchronous Procedure Calls(异步过程调用
An asynchronous procedure call (APC) is a function that executes asynchronously in the context of a particular thread. When an APC is queued to a thread, the system issues a software interrupt. The next time the thread is scheduled, it will run the APC function. An APC generated by the system is called a kernel-mode APC. An APC generated by an application is called a user-mode APC. A thread must be in an alertable state to run a user-mode APC.
Windows中断请求级别
IRQL | Interrupts Masked Off | Driver Routines |
---|---|---|
PASSIVE_LEVEL | None | PASSIVE_LEVEL |
APC_LEVEL | APC_LEVEL interrupts | APC_LEVEL |
DISPATCH_LEVEL | DISPATCH_LEVEL ,APC_LEVEL interrupts | DISPATCH_LEVEL |
DIRQL | All interrupts at IRQL<= DIRQL | DIRQL |
参考
Managing Hardware PrioritiesIRQL
Deferred Procedure Call Details(延迟过程调用详解)
Asynchronous Procedure Calls
相关文章推荐
- php 操作数组 (合并,拆分,追加,查找,删除等)
- 十位用户唯一ID生成策略
- 常见的网站服务器架构有哪些(转载)
- IOS :切回app时、会有闪现、闪现一次主屏幕的现象
- VS2013调用matlab生成的dll
- Git常用命令
- php缩放gif和png格式透明背景变成黑色的解决方法
- 最长公共子序列 空间优化最长公共子序列
- GZIP --压缩
- 数据库完整性
- CSS3 不定宽高水平居中
- 开始使用CefSharp(这次使用nuget)
- 关于附加数据库出错,请单击"消息"列的超链接的解决方案
- 根据两点经纬度计算距离
- Android mvp 架构的自述
- Android安全–从defineClassNative看类的加载过程
- Core Animation - 变换<四>
- 布局属性之布局中控件同时响应选择器效果
- Echart组件封装
- Android网页加载本地JS文件