Extremely slow filebrowser on Win64, Issue 2431
This commit is contained in:
@@ -69,9 +69,12 @@ public:
|
|||||||
inactive_waiting_(false)
|
inactive_waiting_(false)
|
||||||
{
|
{
|
||||||
int threadCount=1;
|
int threadCount=1;
|
||||||
|
#if !(defined( WIN32 ) && defined( __x86_64__ ))
|
||||||
|
// See Issue 2431 for explanation
|
||||||
#ifdef _OPENMP
|
#ifdef _OPENMP
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user