#include <HardwareThreadScheduler.h>
◆ HardwareThreadScheduler()
Kernel::HardwareThreadScheduler::HardwareThreadScheduler |
( |
| ) |
|
|
explicitdefault |
Constructor and destructors.
! Default constructor.
◆ ~HardwareThreadScheduler()
Kernel::HardwareThreadScheduler::~HardwareThreadScheduler |
( |
| ) |
|
|
default |
◆ Capacity()
SizeT Kernel::HardwareThreadScheduler::Capacity |
( |
| ) |
|
|
noexcept |
Returns the amount of threads present in the system.
Returns the amount of core present.
- Returns
- SizeT the amount of cores present.
-
the number of APs.
◆ HasMP()
Bool Kernel::HardwareThreadScheduler::HasMP |
( |
| ) |
|
|
inlineoverridevirtual |
◆ IsKernel()
Bool Kernel::HardwareThreadScheduler::IsKernel |
( |
| ) |
|
|
inlineoverridevirtual |
◆ IsUser()
Bool Kernel::HardwareThreadScheduler::IsUser |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Leak()
◆ operator bool()
Kernel::HardwareThreadScheduler::operator bool |
( |
| ) |
|
|
noexcept |
Check if thread pool isn't empty.
- Returns
◆ operator!()
bool Kernel::HardwareThreadScheduler::operator! |
( |
| ) |
|
|
noexcept |
Reverse operator bool
- Returns
◆ operator[]()
Get Hardware thread at index.
- Parameters
-
- Returns
- the reference to the hardware thread.
◆ The()
Shared instance of the MP Mgr.
Shared singleton function.
- Returns
- the reference to the mp manager class.
◆ UserProcessHelper
◆ fCurrentThread
ThreadID Kernel::HardwareThreadScheduler::fCurrentThread {0} |
|
private |
◆ fThreadList
The documentation for this class was generated from the following files: