Chap 4 Flashcards
The OS performs a protection function to prevent unwanted interference between processes with respect to resources.
TRUE
Windows process design is driven by the need to provide support for a variety of OS environments.
TRUE
The unit of dispatching is usually referred to as a process or task.
FALSE
In a multithreaded environment there are separate stacks for each thread, as well as a separate control block for each thread.
TRUE
It takes less time to terminate a process than a thread.
FALSE
If there is an application or function that should be implemented as a set of related units of execution, it is far more efficient to do so as a collection of separate processes rather than a collection of threads.
FALSE
An example of an application that could make use of threads is a file server.
TRUE
Termination of a process does not terminate all threads within that process.
FALSE
If a process is swapped out, all of its threads are necessarily swapped out because they all share the address space of the process.
TRUE
On a uniprocessor, multiprogramming does not enable the interleaving of multiple threads within multiple processes.
FALSE
Any alteration of a resource by one thread affects the environment of the other threads in the same process.
TRUE
In a pure ULT facility, all of the work of thread management is done by the application, and the kernel is not aware of the existence of threads.
TRUE
As a default, the kernel dispatcher uses the policy of hard affinity in assigning threads to processors.
FALSE
Windows is an example of a kernel-level thread approach.
TRUE
The potential performance benefits of a multicore organization depend on the ability to effectively exploit the parallel resources available to the application.
TRUE
The traditional approach of a single thread of execution per process, in which the concept of a thread is not recognized, is referred to as a ______________.
single-threaded approach
The idea of having a many-to-many relationship between threads and processes has been explored in the experimental operating system ___________.
TRIX
In a multithreaded environment, a _________ is defined as the unit of resource allocation and a unit of protection.
process