From 4dac8cc93a12d339f9f18b17af4e88baa59d9c53 Mon Sep 17 00:00:00 2001 From: Ingo Date: Sat, 10 May 2014 11:52:52 +0200 Subject: [PATCH] RT goes to 100% cpu-load when starting with an image in queue on Win64/gcc 4.8.1, Issue 2370 --- rtgui/thumbimageupdater.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rtgui/thumbimageupdater.cc b/rtgui/thumbimageupdater.cc index 380f204a8..ed9858ba6 100644 --- a/rtgui/thumbimageupdater.cc +++ b/rtgui/thumbimageupdater.cc @@ -70,7 +70,9 @@ public: { int threadCount=1; #ifdef _OPENMP - threadCount=omp_get_num_procs(); + #ifndef WIN32 // see Issue 2370 + threadCount=omp_get_num_procs(); + #endif #endif threadPool_=new Glib::ThreadPool(threadCount,0);