Chapter 14. System Threads

< BACK  NEXT >
[oR]

Chapter 14. System Threads

CHAPTER OBJECTIVES

  • Definition and Use of System Threads

  • Thread Synchronization

  • Using Dispatcher Objects

  • Code Example: A Thread-Base Driver

  • Summary

The work that must be performed within a driver cannot always be done in response to a request at least, not at the very moment of the request. Some work must be performed asynchronous to a caller, perhaps at a different priority to other driver activity. Windows 2000 allows the creation of separate threads of execution, each following a code path that is independent of others. The threads perform units of work at their own pace, triggered by appropriate events.

This chapter explains the process of creating a kernel-mode thread. It also explains the synchronization techniques provided by the kernel between different threads.

< BACK  NEXT >


The Windows 2000 Device Driver Book(c) A Guide for Programmers
The Windows 2000 Device Driver Book: A Guide for Programmers (2nd Edition)
ISBN: 0130204315
EAN: 2147483647
Year: 2000
Pages: 156

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net