From ec893d858e37b33802d82f7654f6592ed1c0e2a3 Mon Sep 17 00:00:00 2001 From: Ingo Date: Tue, 12 Aug 2014 12:10:49 +0200 Subject: [PATCH] Extremely slow filebrowser on Win64, Issue 2431 --- rtgui/thumbimageupdater.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtgui/thumbimageupdater.cc b/rtgui/thumbimageupdater.cc index d8687e9ad..07b569b8c 100644 --- a/rtgui/thumbimageupdater.cc +++ b/rtgui/thumbimageupdater.cc @@ -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); }