Chapter 5. Scheduling
Different Models of Kernel Scheduling
Thread Scheduling
Context Switching
Java Scheduling Summary
When Should You Care About Scheduling?
APIs Used in This Chapter
The Class java.lang.Thread
In which we explain the myriad details of various scheduling models and alternative choices that could be made, describe context switching in detail, and delve into gruesome detail on various design options. There is light at the end of the tunnel, however.
Different Models of Kernel Scheduling
There are three primary techniques for scheduling threads onto kernel resources (and indirectly, onto CPUs). Two of them involve the use of LWPs (or something similar). These are the techniques from which the designers of the various operating systems had ...
Get Multithreaded Programming with JAVA™ Technology now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.