MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / start

Method start

Source/Falcor/Utils/Threading.cpp:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44static uint32_t sThreadingInitCount = 0;
45
46void Threading::start(uint32_t threadCount)
47{
48 std::lock_guard<std::mutex> lock(sThreadingInitMutex);
49 if (sThreadingInitCount++ == 0)
50 {
51 gData.threads.resize(threadCount);
52 gData.initialized = true;
53 }
54}
55
56void Threading::shutdown()
57{

Callers 13

timer_callbackMethod · 0.45
start_stopMethod · 0.45
mainFunction · 0.45
_itertokensMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
__enter__Method · 0.45
translateMethod · 0.45
read_codeMethod · 0.45

Calls 1

resizeMethod · 0.45

Tested by 1

mainFunction · 0.36