Quiz 3 Flashcards
multithreading can also improve software performance (spped) when running on single-core cpu
true
the ______ multithreading model multiplexes many user-level threads to a smaller or equal number of kernel threads
many to many
how many processes will be generated in the following code?
fork();
fork();
fork();
8
a ____ presents a set of programmer-defined operations that are provided mutual exclusion within
monitor
which of the following would be an acceptable signal handling scheme for multithreaded program? deliver the signal to the thread to which the signal applies, deliver the signal to every thread in the process, deliver the signal to only certain threads in the process, all of these
all
while a process is blocked on a semaphore’s queue, it is engaged in busy waiting
false
multithreading always has better performance than a single-threaded solution
false
while a process is blocked on a condition variable, it is engaged in busy waiting
false