Thread Context In Dispatch Routines

hi all,
i am a new guy in driver development and i want to know whether the dispatch routines are called in context of running thread (i.e the thread who called the device) and, whether, if a dispatch routine waits on some object the the caller thread will also wait. what if another thread requests for the same dispatch routines.
where can i find info regarding relationship bet’n threads, Contexts, and dispatch routines

thanks in advance
kiran


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Dispatch routines “should” be called at PASSIVE_LEVEL. If the call is coming
from an application, then IRQL is at PASSIVE_LEVEL and the context will that
of the calling thread. However, in a layered model, all bets are off. Not
all drivers are “nice” and call the lower DO at PASSIVE_LEVEL. They should,
but they don’t always.

Gary G. Little
Sr. Staff Engineer
Broadband Storage, LLC
xxxxx@broadstor.com
xxxxx@delphieng.com

-----Original Message-----
From: kiran joshi [mailto:xxxxx@hotmail.com]
Sent: Tuesday, March 13, 2001 10:57 PM
To: NT Developers Interest List
Subject: [ntdev] Thread Context In Dispatch Routines

hi all,
i am a new guy in driver development and i want to know whether the
dispatch routines are called in context of running thread (i.e the thread
who called the device) and, whether, if a dispatch routine waits on some
object the the caller thread will also wait. what if another thread requests
for the same dispatch routines.
where can i find info regarding relationship bet’n threads, Contexts, and
dispatch routines

thanks in advance
kiran

You are currently subscribed to ntdev as: xxxxx@delphieng.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com