Chapter 7: Time, Delays, and Deferred Work
Submitted by admin on Tue, 2006-06-27 18:12
At this point, we know the basics of how to write a full-featured char module. Real-world drivers, however, need to do more than implement the operations that control a device; they have to deal with issues such as timing, memory management, hardware access, and more. Fortunately, the kernel exports a number of facilities to ease the task of the driver writer. In the next few chapters, we'll describe some of the kernel resources you can use. This chapter leads the way by describing how timing issues are addressed. Dealing with time involves the following tasks, in order of increasing complexity:
- Measuring time lapses and comparing times
- Knowing the current time
- Delaying operation for a specified amount of time
- Scheduling asynchronous functions to happen at a later time
...
Download PDF.
»
- Add new comment
- 5915 reads








Recent comments
4 weeks 3 days ago
4 weeks 3 days ago
6 weeks 14 hours ago
10 weeks 21 hours ago
12 weeks 14 hours ago
12 weeks 18 hours ago
12 weeks 18 hours ago
12 weeks 4 days ago
16 weeks 7 hours ago
17 weeks 1 day ago