2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:47:42 +00:00

Better thread contention handling for BlenderConnection

This commit is contained in:
Jack Andersen
2016-12-24 15:35:30 -10:00
parent dbdb40c444
commit 75847c67d3
3 changed files with 20 additions and 12 deletions

View File

@@ -91,7 +91,7 @@ void ClientProcess::Worker::proc()
ClientProcess::ClientProcess(int verbosityLevel)
: m_verbosity(verbosityLevel)
{
#ifdef NDEBUG
#if defined(NDEBUG)
int cpuCount = GetCPUCount();
#else
constexpr int cpuCount = 1;