MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / getNumThreads

Method getNumThreads

src/LinearMath/btThreads.cpp:582–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580 return tbb::task_scheduler_init::default_num_threads();
581 }
582 virtual int getNumThreads() const BT_OVERRIDE
583 {
584 return m_numThreads;
585 }
586 virtual void setNumThreads(int numThreads) BT_OVERRIDE
587 {
588 m_numThreads = (std::max)(1, (std::min)(int(BT_MAX_THREAD_COUNT), numThreads));

Callers 8

writeGrainSizesFunction · 0.45
addTaskSchedulerMethod · 0.45
setNumThreadsFunction · 0.45
setThreadCountCallbackFunction · 0.45
drawScreenTextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected