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

Function threadState

kernels/subdiv/tessellation_cache.h:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 static ThreadWorkState* current_t_state;
78
79 static __forceinline ThreadWorkState *threadState()
80 {
81 if (unlikely(!init_t_state))
82 /* sets init_t_state, can't return pointer due to macosx icc bug*/
83 SharedLazyTessellationCache::sharedLazyTessellationCache.getNextRenderThreadWorkState();
84 return init_t_state;
85 }
86
87 struct Tag
88 {

Callers 7

lockFunction · 0.85
unlockFunction · 0.85
isLockedFunction · 0.85
getStateFunction · 0.85
lockThreadLoopFunction · 0.85
lookupFunction · 0.85
mallocFunction · 0.85

Calls 1

Tested by

no test coverage detected