MLIB
Loading...
Searching...
No Matches
mlib::current_thread Class Reference

Currently executing thread object. More...

#include <thread.h>

Public Member Functions

DWORD id () const
 Return ID of current thread.
 
HANDLE handle () const
 Return handle of current thread.
 
int priority ()
 Return priority of current thread.
 
void priority (int pri)
 set priority of current thread
 

Detailed Description

Currently executing thread object.

Useful for accessing properties like id, handle, priority etc.

Member Function Documentation

◆ priority() [1/2]

int mlib::current_thread::priority ( )
inline

Return priority of current thread.

Return priority current thread.

◆ priority() [2/2]

void mlib::current_thread::priority ( int pri)
inline

set priority of current thread

Set priority of current thread.


The documentation for this class was generated from the following file: