Extremely slow filebrowser on Win64, Issue 2431
This commit is contained in:
parent
08dc76b0fe
commit
ec893d858e
@ -69,9 +69,12 @@ public:
|
||||
inactive_waiting_(false)
|
||||
{
|
||||
int threadCount=1;
|
||||
#if !(defined( WIN32 ) && defined( __x86_64__ ))
|
||||
// See Issue 2431 for explanation
|
||||
#ifdef _OPENMP
|
||||
threadCount=omp_get_num_procs();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
threadPool_=new Glib::ThreadPool(threadCount,0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user