Click to Rate and Give Feedback

  Switch on low bandwidth view
Windows Driver Kit: Kernel-Mode Driver Framework
Synchronization Techniques for Framework-Based Drivers

Synchronizing kernel-mode driver operations is one of the most challenging tasks that a driver writer must accomplish. If every driver handled only one device on a uniprocessor system, if each device handled one synchronous I/O operation at a time, and if the system did not allow several devices to share interrupt vectors, there would be no synchronization issues. Writing drivers would be relatively easy.

However, a typical device driver might have to support multiple devices on a system, each generating asynchronous I/O operations; multiple processors that can run driver threads in parallel, sometimes at multiple IRQL levels; multiple devices of different types that share a single interrupt vector; and multiple applications that share access to each device.

Kernel-Mode Driver Framework provides synchronization capabilities that simplify the synchronization tasks that drivers must handle. The following topics describe mechanisms that Kernel-Mode Driver Framework provides to help you synchronize driver operations:


Send feedback on this topic
Built on May 20, 2009
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker