CH4 Flashcards

(9 cards)

1
Q

_______are fundamental unit of CPU utilization that forms the basis of multi-threaded computer systems.

A

Threads

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Process creation is (light/heavy)-weight while thread creation is (light/heavy)-weight

A

heavy, light

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

T/F: Kernels are generally single-threaded.

A

F, Multi-threaded

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Multi-threading models include: _________, ___________, ___________.

A

Many-to-One, One-to-One, Many-to-Many.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Many-to-One model is where many _______-level threads mapped to single _______ thread.

A

user, kernel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

______ model is where each user-level thread maps to kernel thread.

A

One-to-One

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

__________ model is where many user-level threads mapped to many kernel threads.

A

Many-to-Many

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

_______ provides programmer with API for creating and managing threads.

A

Thread library

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

(Synchronous/Asynchronous) cancellation terminates the target thread immediately.

A

Asynchronous

How well did you know this?
1
Not at all
2
3
4
5
Perfectly