Types of APCs

Types of APCs

An asynchronous procedure call (APC) is a function that executes asynchronously. APCs are similar to deferred procedure calls (DPCs), but unlike DPCs, APCs execute within the context of a particular thread. Drivers (other than file systems and file-system filter drivers) do not use APCs directly, but other parts of the operating system do, so you need to be aware of how APCs work.

The Windows operating system uses three kinds of APCs:

  • User APCs run strictly in user mode and only when the current thread is in an alertable wait state. The operating system uses user APCs to implement mechanisms such as overlapped I/O and the QueueUserApc Win32 routine.
  • Normal kernel APCs run in kernel mode at IRQL = PASSIVE_LEVEL. A normal kernel APC preempts all user-mode code, including user APCs. Normal kernel APCs are generally used by file systems and file-system filter drivers.
  • Special kernel APCs run in kernel mode at IRQL = APC_LEVEL. A special kernel APC preempts user-mode code and kernel-mode code that executes at IRQL = PASSIVE_LEVEL, including both user APCs and normal kernel APCs. The operating system uses special kernel APCs to handle operations such as I/O request completion.

 

http://www.ddj.com/windows/184416590;jsessionid=G1F1YBKIFIP23QE1GHRSKHWATMY32JVN?_requestid=191234

 http://www.gamedev.net/community/forums/topic.asp?topic_id=522408

http://www.fixya.com/support/t36188-queue_apc_from_kernel

http://www.0ginr.com/bbs/thread-3002-1-1.html

http://bbs.driverdevelop.com/htm_data/16/0107/2217.html

http://www.microsoft.com/msj/0197/win32/win320197.aspx

http://www.eggheadcafe.com/software/aspnet/33959799/special-kernel-mode-apc.aspx

转载于:https://www.cnblogs.com/fanzi2009/archive/2010/01/28/1658777.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
APCS-MLR是一种用于机器学习的操作方法。APCS是自适应参数空间搜索算法的缩写,MLR是多层感知机算法的缩写。 APCS-MLR操作是基于自适应参数空间搜索算法和多层感知机算法的组合。自适应参数空间搜索算法是一种通过自动调整算法参数来优化算法性能的方法。而多层感知机算法是一种常用的监督学习算法,用于解决分类和回归问题。 在APCS-MLR操作中,首先通过自适应参数空间搜索算法来确定多层感知机算法的最优参数。这个步骤可以自动地选择最佳的参数组合,而不需要手动调整参数。这样可以提高模型的性能和泛化能力。 然后,根据确定的最优参数,使用多层感知机算法来进行训练和预测。多层感知机算法通常由多个神经元层组成,其中每个神经元与前一层的所有神经元相连。通过逐层传递信号和权重调整,多层感知机可以逼近非线性函数,并对输入数据进行分类或回归。 APCS-MLR操作具有以下优点:首先,它可以自动选择最佳的参数组合,免去了手动调参的繁琐过程;其次,多层感知机算法能够处理复杂的非线性问题;最后,通过自适应参数空间搜索算法和多层感知机算法的结合,可以提高机器学习模型的性能和泛化能力。 总之,APCS-MLR操作是一种利用自适应参数空间搜索算法和多层感知机算法的机器学习方法。它能够自动选择最佳参数,并且有效地处理复杂的非线性问题。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值