Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RenderKit/embree
/ allocThreadIndex
Method
allocThreadIndex
common/tasking/taskschedulerinternal.cpp:281–286 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
279
}
280
281
dll_export ssize_t TaskScheduler::allocThreadIndex()
282
{
283
size_t threadIndex = threadCounter++;
284
assert(threadIndex < threadLocal.size());
285
return threadIndex;
286
}
287
288
void TaskScheduler::join()
289
{
Callers
1
thread_loop
Method · 0.80
Calls
1
size
Method · 0.45
Tested by
no test coverage detected