RT goes to 100% cpu-load when starting with an image in queue on Win64/gcc 4.8.1, Issue 2370

This commit is contained in:
Ingo
2014-05-10 11:52:52 +02:00
parent 2868cfa4f8
commit 4dac8cc93a

View File

@@ -70,8 +70,10 @@ public:
{ {
int threadCount=1; int threadCount=1;
#ifdef _OPENMP #ifdef _OPENMP
#ifndef WIN32 // see Issue 2370
threadCount=omp_get_num_procs(); threadCount=omp_get_num_procs();
#endif #endif
#endif
threadPool_=new Glib::ThreadPool(threadCount,0); threadPool_=new Glib::ThreadPool(threadCount,0);
} }