Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
thread.h File Reference
#include "util/basic_macros.h"
#include <string>
#include <atomic>
#include <thread>
#include <mutex>
+ Include dependency graph for thread.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Thread
 

Macros

#define THREAD_PRIORITY_LOWEST   0
 
#define THREAD_PRIORITY_BELOW_NORMAL   1
 
#define THREAD_PRIORITY_NORMAL   2
 
#define THREAD_PRIORITY_ABOVE_NORMAL   3
 
#define THREAD_PRIORITY_HIGHEST   4
 

Macro Definition Documentation

◆ THREAD_PRIORITY_ABOVE_NORMAL

#define THREAD_PRIORITY_ABOVE_NORMAL   3

◆ THREAD_PRIORITY_BELOW_NORMAL

#define THREAD_PRIORITY_BELOW_NORMAL   1

◆ THREAD_PRIORITY_HIGHEST

#define THREAD_PRIORITY_HIGHEST   4

Referenced by Thread::setPriority().

◆ THREAD_PRIORITY_LOWEST

#define THREAD_PRIORITY_LOWEST   0

◆ THREAD_PRIORITY_NORMAL

#define THREAD_PRIORITY_NORMAL   2