MCPcopy Create free account
hub / github.com/KTStephano/StratusGFX / GetCurrentThreadPtr

Function GetCurrentThreadPtr

Source/Engine/StratusThread.cpp:6–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5namespace stratus {
6 static Thread ** GetCurrentThreadPtr() {
7 static thread_local Thread * _current = nullptr;
8 return &_current;
9 }
10
11 static void NullifyCurrentThread() {
12 Thread ** current = GetCurrentThreadPtr();

Callers 3

NullifyCurrentThreadFunction · 0.85
SetCurrentThreadFunction · 0.85
StratusThread.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected