Unverified Commit 3b2e409f authored by RAJKIRAN NATARAJAN's avatar RAJKIRAN NATARAJAN Committed by GitHub

Merge pull request #16779 from saskatchewancatch:issue-16777

* Fixes issue 16777.

* core: update Concurrency getNumThreads()
parent 1c2ed287
......@@ -618,9 +618,9 @@ int getNumThreads(void)
#elif defined HAVE_CONCURRENCY
return 1 + (pplScheduler == 0
return (pplScheduler == 0)
? Concurrency::CurrentScheduler::Get()->GetNumberOfVirtualProcessors()
: pplScheduler->GetNumberOfVirtualProcessors());
: (1 + pplScheduler->GetNumberOfVirtualProcessors());
#elif defined HAVE_PTHREADS_PF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment