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

Function lockThreadLoop

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

Source from the content-addressed store, hash-verified

171 static __forceinline bool isLocked() { return sharedLazyTessellationCache.isLocked(threadState()); }
172 static __forceinline size_t getState() { return threadState()->counter.load(); }
173 static __forceinline void lockThreadLoop() { sharedLazyTessellationCache.lockThreadLoop(threadState()); }
174
175 static __forceinline size_t getTCacheTime(const size_t globalTime) {
176 return sharedLazyTessellationCache.getTime(globalTime);

Callers

nothing calls this directly

Calls 2

threadStateFunction · 0.85
waitForUsersLessEqualMethod · 0.80

Tested by

no test coverage detected