MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / createThreads

Method createThreads

JUCE/modules/juce_core/threads/juce_ThreadPool.cpp:111–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void ThreadPool::createThreads (int numThreads, size_t threadStackSize)
112{
113 for (int i = jmax (1, numThreads); --i >= 0;)
114 threads.add (new ThreadPoolThread (*this, threadStackSize));
115
116 for (auto* t : threads)
117 t->startThread();
118}
119
120void ThreadPool::stopThreads()
121{

Callers

nothing calls this directly

Calls 3

jmaxFunction · 0.85
addMethod · 0.45
startThreadMethod · 0.45

Tested by

no test coverage detected