How expensive is KeInitializeEvent? I’m currently calling
KeInitializeEvent through my IRP_MJ_READ and IRP_MJ_WRITE
code paths, which are fairly busy. Is it worth extra
code complexity to avoid this call?
Also, is there a counterpart for KeInitializeEvent? Or is
no tear down required since caller provides the storage?
Thanks,
Joseph
It is a simple field initializer, it does not interact with any OS modules.
There is no equivalent destructor.
=====================
Mark Roddy
-----Original Message-----
From: Joseph Galbraith [mailto:xxxxx@vandyke.com]
Sent: Tuesday, July 06, 2004 12:59 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Some questions about KeInitializeEvent…
How expensive is KeInitializeEvent? I’m currently calling KeInitializeEvent
through my IRP_MJ_READ and IRP_MJ_WRITE code paths, which are fairly busy.
Is it worth extra code complexity to avoid this call?
Also, is there a counterpart for KeInitializeEvent? Or is no tear down
required since caller provides the storage?
Thanks,
Joseph
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
But it is simple enough to create a class and constructor for KEVENT, ala
Marks classes or DriverStudio.
–
Gary G. Little
Seagate Technologies, LLC
“Roddy, Mark” wrote in message news:xxxxx@ntdev…
> It is a simple field initializer, it does not interact with any OS
modules.
> There is no equivalent destructor.
>
>
>
> =====================
> Mark Roddy
>
> -----Original Message-----
> From: Joseph Galbraith [mailto:xxxxx@vandyke.com]
> Sent: Tuesday, July 06, 2004 12:59 PM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Some questions about KeInitializeEvent…
>
> How expensive is KeInitializeEvent? I’m currently calling
KeInitializeEvent
> through my IRP_MJ_READ and IRP_MJ_WRITE code paths, which are fairly busy.
> Is it worth extra code complexity to avoid this call?
>
> Also, is there a counterpart for KeInitializeEvent? Or is no tear down
> required since caller provides the storage?
>
> Thanks,
>
> Joseph
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@stratus.com To
> unsubscribe send a blank email to xxxxx@lists.osr.com
>