Re: Question about threads?
From: Gary G. Little (gglittle.nospam_at_sbcglobal.net)
Date: 01/06/05
- Next message: hrvoje: "don't bother"
- Previous message: Gary G. Little: "Re: Receiving a boolean from an InputBuffer ?"
- In reply to: o: "Question about threads?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 06 Jan 2005 18:25:30 GMT
IRQL DISPATCH and above, including DIRQL or the interrupt level of your
driver are in arbitrary thread context, and can normally access kernel
globals, unless they are in paged memory, depending on how the developer
decided to define the globals.
You can access your global from your interrupt if it is not in paged memory,
but you have allocate as such. Look for such macros as LOCKXXX and PAGEXXX
in the examples. Unless specified however, globals and functions, default to
non-paged memory.
-- The personal opinion of Gary G. Little <o> wrote in message news:efm1rk48EHA.1400@TK2MSFTNGP11.phx.gbl... > If I have a global int in my driver, this is non-arbitrary > context, is that correct? Now, if I have an interrupt > routine in my driver, this will be arbitraty context, is > that correct?, can I access my global int in the interrupt > routine?
- Next message: hrvoje: "don't bother"
- Previous message: Gary G. Little: "Re: Receiving a boolean from an InputBuffer ?"
- In reply to: o: "Question about threads?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|