MCPcopy Create free account
hub / github.com/beefytech/Beef / RunManyThreadsWithId

Function RunManyThreadsWithId

BeefRT/gperftools/src/tests/testutil.cc:95–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95extern "C" void RunManyThreadsWithId(void (*fn)(int), int count, int) {
96 for (int i = 0; i < count; i++)
97 (*fn)(i); // stacksize doesn't make sense in a non-threaded context
98}
99
100#elif defined(_WIN32)
101

Callers 2

TESTFunction · 0.70
RunAllTestsFunction · 0.70

Calls 1

pthread_createFunction · 0.85

Tested by

no test coverage detected