Tech Support > Microsoft Windows > Drivers > Queuing routines
Queuing routines
Posted by alex on June 26th, 2008


Hi,
reading "Programming the microsoft windows driver model", by Walter
Oney, at page 256 in the sidebar titled "Microsoft Queuing Routines", I
found out that IoStartPacket and IoStartNextPacket "implement a queuing
model that's inappropriate for WDM drivers". I tried to find something
that confirmed those assertions in the Windows Driver Kit docs, but it
seems that those functions aren't officially deprecated. Can I use them
or should I use other techniques instead?

Bye
Alex

Posted by Maxim S. Shatskih on June 26th, 2008


Queues implemented by these ancient (NT 3.1) functions use the single
OS-wide global spinlock to protect all "put to queue" and "get to queue"
operations.

IoCsqXxx routines are free from this limitation, so are KMDF queues.

IoStartPacket is just plain deprecated.

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

"alex" <viszont_latasra_@nerdshack.com> wrote in message
news:6jucj5-9ng.ln1@gw-fi.esaote.com...


Similar Posts