Mechanism of signaling frm ISRs

Once I used undocumented kernel APC objects to wakeup a user mode thread.
User mode thread must be in alertable state. .

The problem what I faced is, If ISR queued many APC objects per second, APCs will deliver bit slowly to the thread. So, I am not sure whether it will work out or not in your case

Regards,
&Raj.

Monisha Barooah wrote:
Hi All,
I had a doubt regarding the signaling mechanism done from the ISR.

Is there any way to signal a waiting thread from the ISR in the windows operating system?

I had earlier used the ISR-DPC mechanism to invoke a DPC from the ISR and then did the required signalling of event from the DPC. Is there any way by means of which a waiting thread can be waken up from an ISR?

Please help provide info if any.

Regards,
Monisha.

=====
Monisha Barooah
Samsung India Software Operations Pvt. Ltd.
Bagmane Lakeview, Block ‘B’,
No. 66/1, Bagmane Tech Park,
C V Raman Nagar, Byrasandra,
Bangalore - 560093
Phone - 41819999, Extn:7155
Email: xxxxx@samsung.com


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Keep Faith on the Supreme Lord Sri Sri Sri Krishna. He will take care of you.

---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

Queueing an APC requires IRQL <= DISPATCH_LEVEL…but you shouldn’t even try that since APCs are not documented. Your original solution is the correct one. Queue a DPC and signal your thread from there.

d


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Raja Reddy
Sent: Tuesday, March 28, 2006 10:20 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Mechanism of signaling frm ISRs

Once I used undocumented kernel APC objects?to wakeup a user mode thread.
User mode thread must be in alertable state. .
?
The problem what I faced is, If ISR queued many APC objects per second, APCs will deliver bit slowly to the thread. So, I am not sure whether it will work out or not in your case
?
Regards,
&Raj.
?
?

Monisha Barooah wrote:
Hi All,
?? I? had a doubt regarding the signaling mechanism done from the ISR.
?
?? Is there any way to signal a waiting thread from the ISR in the windows operating system?
?
?? I had earlier used the ISR-DPC mechanism to invoke a DPC from the ISR and then did the required signalling of event from the DPC. Is there any way by means of which?a waiting thread can be waken up from an ISR?
?
?? Please help provide info if any.
?
Regards,
Monisha.
?
=====
Monisha Barooah
Samsung India Software Operations Pvt. Ltd.
Bagmane Lakeview, Block ‘B’,
No. 66/1, Bagmane Tech Park,
C V Raman Nagar, Byrasandra,
Bangalore - 560093
Phone - 41819999, Extn:7155
Email: xxxxx@samsung.com


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Keep Faith on the Supreme Lord Sri Sri Sri Krishna. He will take care of you.
________________________________________
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

No.

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Monisha Barooah
Sent: Wednesday, March 29, 2006 12:50 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Mechanism of signaling frm ISRs

Hi All,
I had a doubt regarding the signaling mechanism done from the ISR.

Is there any way to signal a waiting thread from the ISR in the windows
operating system?

I had earlier used the ISR-DPC mechanism to invoke a DPC from the ISR and
then did the required signalling of event from the DPC. Is there any way by
means of which a waiting thread can be waken up from an ISR?

Please help provide info if any.

Regards,
Monisha.

=====
Monisha Barooah
Samsung India Software Operations Pvt. Ltd.
Bagmane Lakeview, Block ‘B’,
No. 66/1, Bagmane Tech Park,
C V Raman Nagar, Byrasandra,
Bangalore - 560093
Phone - 41819999, Extn:7155
Email: xxxxx@samsung.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

> I had earlier used the ISR-DPC mechanism to invoke a DPC from the ISR and

then did the required signalling of event from the DPC. Is there any way by
means of which a waiting thread can be waken up from an ISR?

No. You cannot. This is a major point in Windows design.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com