Interface class for Diarkis thread.
More...
#include <Thread.h>
Interface class for Diarkis thread.
◆ DiarkisThread()
| Diarkis::System::DiarkisThread::DiarkisThread |
( |
| ) |
|
◆ ~DiarkisThread()
| Diarkis::System::DiarkisThread::~DiarkisThread |
( |
| ) |
|
◆ SetLoggerFactory()
| void Diarkis::System::DiarkisThread::SetLoggerFactory |
( |
std::shared_ptr< IDiarkisLoggerFactory > |
loggerFactory | ) |
|
◆ Start()
Run the thread.
- Parameters
-
◆ Join()
Wait for a thread to complete.
◆ Joinable()
| bool Diarkis::System::DiarkisThread::Joinable |
( |
| ) |
|
Whether it is possible to join a thread.
◆ Sleep()
Speep the thread.
- Parameters
-
| [in] | msec | Duration to sleep (ms) |
◆ GetCurrentCPU()
| int Diarkis::System::DiarkisThread::GetCurrentCPU |
( |
| ) |
|
Get the CPU number on which the thread is running.
◆ yield()
Yield the processor.
Available only on PS4, PS5, and NX
◆ GetHandle()
The documentation for this class was generated from the following file:
- client/cpp/libDiarkis/include/diarkis/system/Thread.h