Definition at line 29 of file RoundRobin.h.
◆ RoundRobin()
| RoundRobin::RoundRobin |
( |
| ) |
|
◆ ~RoundRobin()
| RoundRobin::~RoundRobin |
( |
| ) |
|
|
virtual |
◆ addThread()
| void RoundRobin::addThread |
( |
Thread * |
pThread | ) |
|
|
virtual |
◆ enqueue()
| void RoundRobin::enqueue |
( |
Thread * |
pThread | ) |
|
|
private |
◆ getNext()
Return the next thread that should be scheduled for the given Processor.
- Parameters
-
| pProcessor | The Processor for which the scheduling should take place - this is provided for heuristic purposes (core affinity etc). |
- Note
- It is assumed that this function will set the Thread's TTL and other such values itself.
Implements SchedulingAlgorithm.
Definition at line 110 of file RoundRobin.cc.
◆ hasReady()
| bool RoundRobin::hasReady |
( |
| ) |
|
|
virtual |
◆ isReady()
| bool RoundRobin::isReady |
( |
Thread * |
pThread | ) |
|
|
staticprivate |
◆ removeThread()
| void RoundRobin::removeThread |
( |
Thread * |
pThread | ) |
|
|
virtual |
◆ threadStatusChanged()
| void RoundRobin::threadStatusChanged |
( |
Thread * |
pThread | ) |
|
|
virtual |
◆ unlink()
| void RoundRobin::unlink |
( |
Thread * |
pThread | ) |
|
|
private |
◆ m_Lock
◆ m_pReadyQueueHeads
| Thread* RoundRobin::m_pReadyQueueHeads[MAX_PRIORITIES] |
|
private |
◆ m_pReadyQueueTails
| Thread* RoundRobin::m_pReadyQueueTails[MAX_PRIORITIES] |
|
private |
The documentation for this class was generated from the following files: