#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 |
( |
| ) |
|
returns the id of the thread.
◆ IsBusy()
| Bool Kernel::HardwareThread::IsBusy |
( |
| ) |
|
is the thread busy?
- Returns
- whether the thread is busy or not.
◆ IsWakeup()
| bool Kernel::HardwareThread::IsWakeup |
( |
| ) |
|
!
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
| friend class HardwareThreadScheduler |
|
friend |
◆ UserProcessHelper
| friend class UserProcessHelper |
|
friend |
◆ 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: