7 - Threads Flashcards
1
Q
What is a thread pool?
A
Program creates and maintains a pool of worker threads
2
Q
What is Task Starvation?
A
The task in the task queue is never serviced
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.
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
5
Q
What does HPC stand for?
A
High Performance Computing