Your ISR queues a DPC call that runs after you return from your ISR.
However, why not just let ReadFile/WriteFile/DeviceIoControl do that? A
properly written driver will pend an IRP that it cannot complete
immediately. If the driver was not opened for overlapped IO, the calling
thread blocks until the IRP has been completed.
-----Original Message-----
From: Berto [mailto:xxxxx@wcscnet.com]
Sent: Monday, September 11, 2000 11:17 AM
To: NT Developers Interest List
Subject: [ntdev] Signalling an event from an
interrupt handler(SetEvent()?)
Help please!!!
I have a pointer to an event in my driver. I need to set it
to allow a
Usermode thread to run. I thought I could call SetEvent()
from the interrupt
handler, however the DDK docs says it can only be set at
IRQL<=DISPATCH
level. Is there some other way to signal the event?
Thanks & Regards,
Berto
WCSC(Willies Computer Software Co)
http://www.wcscnet.com
Tel: (281)360-4232 Fax: (281)360-3231
You are currently subscribed to ntdev as: xxxxx@wcscnet.com
To unsubscribe send a blank email to
$subst(‘Email.Unsub’)
You are currently subscribed to ntdev as:
xxxxx@delphieng.com
To unsubscribe send a blank email to
$subst(‘Email.Unsub’)