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

Method thread_alloc

common/sys/barrier.cpp:244–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242 }
243
244 static void thread_alloc(barrier_sys_regression_test* This)
245 {
246 size_t tid = This->threadID++;
247 for (size_t j=0; j<1000; j++)
248 {
249 This->barrier.wait();
250 This->threadResults[tid] = tid;
251 This->barrier.wait();
252 }
253 }
254
255 bool run ()
256 {

Callers

nothing calls this directly

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected