![]() |
Diarkis C++Client Library API Document
|
Classes | |
| class | DiarkisThread |
| Interface class for Diarkis thread. More... | |
| class | DiarkisThreadParams |
| Parameters for thread startup. More... | |
| struct | DiarkisThreadScheduler |
| Thread scheduler. More... | |
| struct | Result |
| Contains information about a specific result value. Can be compared against another Result structure. Can also be printed as text for better debugging experience. More... | |
Typedefs | |
| using | ThreadFunc = std::function< Diarkis::System::Result(void *)> |
| using | NativeThreadHandle = std::thread::native_handle_type |
Enumerations | |
| enum | ResultStatus : uint8_t { NONE, TEMPORARY, FATAL } |
| Indicates whether result value is temporary or definitive. More... | |
| enum | DiarkisThreadPriority : std::uint8_t { DiarkisThreadPriority::PRIORITY_HIGHEST = 0, DiarkisThreadPriority::PRIORITY_ABOVE_NORMAL, DiarkisThreadPriority::PRIORITY_NORMAL, DiarkisThreadPriority::PRIORITY_BELOW_NORMAL, DiarkisThreadPriority::PRIORITY_LOWEST } |
| Represent thread priority. More... | |
| enum | DiarkisThreadPolicy : std::uint8_t { DiarkisThreadPolicy::STANDARD = 0, DiarkisThreadPolicy::ROUNDROBIN, DiarkisThreadPolicy::FIFO } |
| Thread scheduling policy. More... | |
| using Diarkis::System::ThreadFunc = typedef std::function<Diarkis::System::Result(void*)> |
| using Diarkis::System::NativeThreadHandle = typedef std::thread::native_handle_type |
| enum Diarkis::System::ResultStatus : uint8_t |
|
strong |
|
strong |