A condition variable in a monitor enables a thread to go to sleep and wake up when
Question:
A condition variable in a monitor enables a thread to go to sleep and wake up when
A. | another thread reads the variable. | |
B. | the value of the variable is greater than or equal to some number N. | |
C. | another thread sends a signal to that variable. | |
D. | another thread increments the variable. |
Priority inversion is employed when
A. | A low-priority process holding a resource needed by a high priority process is preempted by a process which has intermediate priority. | |
B. | A low priority thread is in a critical section that a high priority thread needs access to. | |
C. | The scheduler allows a low priority process to run more frequently than a high priority process. | |
D. | A low priority thread has not been given a chance to run so its priority is temporarily increased. | |
E. | Two or more threads are deadlocked and unable to make progress. |
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill