Chapter 4: threads and concurrency Flashcards

1
Q

many to one

A

Many user-level threads mapped to single kernel thread
One thread blocking causes all to block

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

One-to-one

A

Each user-level thread maps to kernel thread
Creating a user-level thread creates a kernel thread

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

many-to-many

A
  • Allows many user level threads to be mapped to many
    kernel threads
  • Allows the operating system to create a sufficient
    number of kernel threads
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

two-level model

A
  • Similar to M:M, except that it allows a user thread to be
    bound to kernel thread
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a thread

A

A unit of execution
* Execution within a process
* Faster to create and destroy than a process

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