Term
What are the four benefits to multithreaded programming? |
|
Definition
Responsiveness
Resource Sharing
Economy
Scalability |
|
|
Term
What are the two levels that thread support can be provided at? |
|
Definition
User level or kernel level |
|
|
Term
There are three common ways of establishing the relationship of user threads to kernel threads. What are they? |
|
Definition
Many-To-One model (many users to one kernel)
One-To-One model (each user to a kernel)
Many-to-Many (many user to a smaller or = number of kernel) |
|
|
Term
What are the issues to consider with multithreaded programming? |
|
Definition
Cancellation
The fork() and exec() system calls Scheduler activations Signal handling Thread pools Thread-specific data |
|
|
Term
In a single processor system, how many processes can run at a time? |
|
Definition
One, all others must wait until the CPU is free |
|
|
Term
When does the short-term scheduler select the next process from the ready queue? |
|
Definition
when the CPU becomes idle |
|
|