Skip to content
Snippets Groups Projects
Commit 997386e7 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Merge branch 'only_alloc_threads_once' into 'master'

[Runtime] don't allocate threads array twice

See merge request !58
parents a84a8752 e7dee47b
No related branches found
No related tags found
1 merge request!58[Runtime] don't allocate threads array twice
Pipeline #54485 passed
......@@ -68,8 +68,6 @@ Runtime::Runtime(workerid_t workerCount, RuntimeStrategy& strategy, unsigned int
randomEngine(seed),
atLeastOneWorkerIsSleeping(false),
skipSleep(false) {
threads = new pthread_t[workerCount];
const int nprocs = get_nprocs();
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment