Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
thread.cpp File Reference
#include "threading/thread.h"
#include "threading/mutex_auto_lock.h"
#include "log_internal.h"
#include "porting.h"
+ Include dependency graph for thread.cpp:

Macros

#define win32_native_handle()   ((HANDLE) getThreadHandle())
 

Variables

thread_local Threadcurrent_thread = nullptr
 

Macro Definition Documentation

◆ win32_native_handle

#define win32_native_handle ( )    ((HANDLE) getThreadHandle())

Variable Documentation

◆ current_thread

thread_local Thread* current_thread = nullptr