[pso] [Tema 2] [Windows] KeSetEvent

Marius Nicolae mariusn007 at gmail.com
Fri Apr 25 16:13:26 EEST 2008


2008/4/25 Razvan Deaconescu <razvand at cs.pub.ro>:
> On Thu, 2008-04-24 at 22:11 +0300, Andrei Ciuca wrote:
>  > Salut,
>  >
>  > Se poate apela "KeSetEvent" din handlerul intreruperii ?
>
>  Din documentatia KeSetEvent[1]: the caller can be running at IRQL <=
>  DISPATCH_LEVEL.
>
>  Mai multe informatii despre IRQL puteti afla aici[2].
>
>  Concluzia este ca nu puteti folosi KeSetEvent dintr-un handler de
>  intrerupere. Va trebui sa planificati un DPC pentru acest lucru.

Si daca punem FALSE pentru campul de wait, putem sa folosim KeSetEvent
din handlerul de intrerupere?

"If Wait is set to FALSE, the caller can be running at IRQL <=
DISPATCH_LEVEL. Otherwise, callers of KeSetEvent must be running at
IRQL = PASSIVE_LEVEL and in a nonarbitrary thread context."

>
>  Razvan
>
>  [1] http://www.osronline.com/DDKx/kmarch/k105_1prm.htm
>  [2] http://ext2fsd.sourceforge.net/documents/irql.htm
>
>
>  --
>  This message has been scanned for viruses and
>  dangerous content by MailScanner, and is
>  believed to be clean.
>
>  _______________________________________________
>  pso mailing list
>  pso at cursuri.cs.pub.ro
>  http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
>


More information about the pso mailing list