MCPcopy Create free account
hub / github.com/RenderKit/embree / setTls

Function setTls

common/sys/thread.cpp:142–144  ·  view source on GitHub ↗

! set the thread local storage pointer */

Source from the content-addressed store, hash-verified

140
141 /*! set the thread local storage pointer */
142 void setTls(tls_t tls, void* const ptr) {
143 TlsSetValue(DWORD(size_t(tls)), ptr);
144 }
145
146 /*! return the thread local storage pointer */
147 void* getTls(tls_t tls) {

Callers 1

errorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected