MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / __hxcpp_tls_get

Function __hxcpp_tls_get

src/hx/Thread.cpp:186–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184// --- TLS ------------------------------------------------------------
185
186Dynamic __hxcpp_tls_get(int inID)
187{
188 return reinterpret_cast<hx::thread::ThreadImpl_obj*>(hx::thread::Thread_obj::current().GetPtr())->getSlot(inID);
189}
190
191void __hxcpp_tls_set(int inID,Dynamic inVal)
192{

Callers

nothing calls this directly

Calls 2

getSlotMethod · 0.80
GetPtrMethod · 0.80

Tested by

no test coverage detected