Why should a threads package be interested in the events of a thread’s becoming blocked or unblocked? Why should it be interested in the event of a virtual processor’s impending preemption? (Hint: other virtual processors may continue to be allocated.)
What will be an ideal response?
If a thread becomes blocked, the user-level scheduler may have a READY thread to schedule. If a thread becomes unblocked, it may become the highest-priority thread and so should be run.
If a virtual processor is to be preempted, then the user-level scheduler may re-assign user-level threads to virtual processors, so that the highest-priority threads will continue to run.
You might also like to view...
Critical Thinking QuestionsCase A-2Charles is working on Illustrator and his drawing has elements that must be aligned in a grid. The illustration is potentially going to be used in a poster or t-shirt design that he is submitting to a contest at school. Which of the following is NOT a true statement Charles can make about preferences in Illustrator?
A. You can use the Illustrator Preferences dialog box to change the color of guides and Smart Guides. B. If a document is open when you change preference settings, the changes will affect all future documents. C. In order for the settings you change to stick to all future documents, no documents can be open while you make changes to preferences. D. To open the Preferences dialog box, click Edit on the Menu bar, point to Preferences, then click a preference category.
The semantic web uses metadata with text data to make it more easily processed by computer.
Indicate whether the statement is true or false
A node in the binary tree is called a ____ if it has no left and right children.
A. leaf B. root C. node D. branch
Which of the following key sizes does WEP use? (Select all that apply.)
A. 128 bits B. 104 bits C. 40 bits D. 64 bits E. Both B and C