Question: Question 51: -- When a higher-priority thread enters the ready state, the operating system generally preempts the currently running thread (an operation known as preemptive
Question 51: -- When a higher-priority thread enters the ready state, the operating system generally preempts the currently running thread (an operation known as preemptive scheduling). Depending on the operating system, a steady influx of higher-priority threads could postponepossibly indefinitelythe execution of lower-priority threads. such indefinite postponement is sometimes referred to more colorfully as________.
fasting famine starvation malnourishment Flag this Question
Question 52: -- Operating systems employ a technique called ________ to prevent indefinite postponementas a thread waits in the ready state, the operating system gradually increases the threads priority to ensure that the thread will eventually run.
incrementing prioritizing maturing aging Flag this Question
Question 53: -- Another problem related to indefinite postponement is called ________. This occurs when a waiting thread (lets call this thread1) cannot proceed because its waiting (either directly or indirectly) for another thread (lets call this thread2) to proceed, while simultaneously thread2 cannot proceed because its waiting (either directly or indirectly) for thread1 to proceed. The two threads are waiting for each other, so the actions that would enable each thread to continue execution can never occur.
impass standoff deadlock stalemate Flag this Question
Question 54: -- The preferred means of creating multithreaded Java applications is by implementing the ________ interface. An object of a class that implements this interface represents a task to perform. Thread Runner Runnable None of the above. Flag this Question
Question 55: -- When a __________ method or block is running on an object, the object is locked so no other such method can run on that object at the same time. synchronized shared thread writeable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
