#include <HardwareThreadScheduler.h>
◆ HardwareThread()
Kernel::HardwareThread::HardwareThread |
( |
| ) |
|
|
explicitdefault |
!
! A HardwareThread class takes care of it's owned hardware thread. It has a stack for it's core. C++ constructor.
◆ ~HardwareThread()
Kernel::HardwareThread::~HardwareThread |
( |
| ) |
|
|
default |
◆ Busy()
◆ ID()
ThreadID & Kernel::HardwareThread::ID |
( |
| ) |
|
|
noexcept |
returns the id of the thread.
◆ IsBusy()
Bool Kernel::HardwareThread::IsBusy |
( |
| ) |
|
|
noexcept |
is the thread busy?
- Returns
- whether the thread is busy or not.
◆ IsWakeup()
bool Kernel::HardwareThread::IsWakeup |
( |
| ) |
|
|
noexcept |
!
Tells if processor is waked up.
◆ Kind()
returns the kind of thread we have.
◆ operator bool()
Kernel::HardwareThread::operator bool |
( |
| ) |
|
◆ StackFrame()
Get processor stack frame.
◆ Switch()
Switch to hardware thread.
- Parameters
-
stack | the new hardware thread. |
- Return values
-
true | stack was changed, code is running. |
false | stack is invalid, previous code is running. |
◆ Wake()
◆ HardwareThreadScheduler
◆ UserProcessHelper
◆ fBusy
Bool Kernel::HardwareThread::fBusy {NO} |
|
private |
◆ fID
ThreadID Kernel::HardwareThread::fID {0} |
|
private |
◆ fKind
ThreadKind Kernel::HardwareThread::fKind {ThreadKind::kAPStandard} |
|
private |
◆ fPTime
UInt64 Kernel::HardwareThread::fPTime {0} |
|
private |
◆ fStack
◆ fWakeup
Bool Kernel::HardwareThread::fWakeup {NO} |
|
private |
The documentation for this class was generated from the following files: