7 - Threads Flashcards

1
Q

What is a thread pool?

A

Program creates and maintains a pool of worker threads

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

What is Task Starvation?

A

The task in the task queue is never serviced

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

What is a Task Queue?

A

A ‘task’ is inserted into a task
queue
Available threads in the thread pool take tasks from the task queue, and finish them.

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

What are Scheduler Activations?

A

A mechanism to allow closer integration between user-level threads and the kernel.
Kernel notifies the application when ‘interesting’ events occur.
Notification is called an upcall
Application can then react by rescheduling its threads

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

What does HPC stand for?

A

High Performance Computing

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