MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / CreateThreads

Method CreateThreads

LibCarla/source/carla/ThreadGroup.h:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31 template <typename F>
32 void CreateThreads(size_t count, F functor) {
33 _threads.reserve(_threads.size() + count);
34 for (size_t i = 0u; i < count; ++i) {
35 CreateThread(functor);
36 }
37 }
38
39 void JoinAll() {
40 for (auto &thread : _threads) {

Callers 4

AsyncRunMethod · 0.80
TESTFunction · 0.80
io_context_runningMethod · 0.80
TESTFunction · 0.80

Calls 2

reserveMethod · 0.80
sizeMethod · 0.45

Tested by 3

TESTFunction · 0.64
io_context_runningMethod · 0.64
TESTFunction · 0.64