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

Method waitForUsersLessEqual

kernels/subdiv/tessellation_cache.cpp:74–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 void SharedLazyTessellationCache::waitForUsersLessEqual(ThreadWorkState *const t_state,
75 const unsigned int users)
76 {
77 while( !(t_state->counter <= users) )
78 {
79 _mm_pause();
80 _mm_pause();
81 _mm_pause();
82 _mm_pause();
83 }
84 }
85
86 void SharedLazyTessellationCache::allocNextSegment()
87 {

Callers 1

lockThreadLoopFunction · 0.80

Calls 1

_mm_pauseFunction · 0.85

Tested by

no test coverage detected