Why: Threads#

class Thread#

Public Types

enum class Priority#

Values:

enumerator None#
enumerator Medium#
enumerator Highest#

Public Functions

~Thread()#
Thread(const Thread&) = delete#
Thread &operator=(const Thread&) = delete#
Thread(Thread &&other)#
Thread &operator=(Thread &&other)#
Priority priority() const#
std::string_view prioritystr() const#

Public Static Functions

static std::expected<Thread, OSError> create(std::function<void()>, Priority prio = Priority::None)#
static Thread self()#
static void init()#
static void deinit()#