Debugging aid.

This commit is contained in:
Jeff Young 2022-10-20 18:29:08 +01:00
parent 3451506d25
commit 0ae2a8483e
1 changed files with 4 additions and 0 deletions

View File

@ -31,7 +31,11 @@ static thread_pool* tp = nullptr;
thread_pool& GetKiCadThreadPool()
{
#if 0 // Turn this on to disable multi-threading for debugging
if( !tp ) tp = new thread_pool( 1 );
#else
if( !tp ) tp = new thread_pool;
#endif
return *tp;
}