From b2a0303516a8ae3078d4cfc0e077d5b851683cbf Mon Sep 17 00:00:00 2001 From: natureh 510 Date: Sat, 13 Apr 2013 01:14:34 +0200 Subject: [PATCH] Bringing back multithreaded thumbnails creation ; was commented out in changeset 1be6f248cb68 on 2013-01-10, see issue 1575 --- rtgui/thumbimageupdater.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rtgui/thumbimageupdater.cc b/rtgui/thumbimageupdater.cc index 90f2c3621..da76e3665 100644 --- a/rtgui/thumbimageupdater.cc +++ b/rtgui/thumbimageupdater.cc @@ -66,10 +66,9 @@ public: inactive_waiting_(false) { int threadCount=1; - /* Test: Only 1 thread for thumbnails creation, since tools are already parallelized #ifdef _OPENMP threadCount=omp_get_num_procs(); - #endif */ + #endif threadPool_=new Glib::ThreadPool(threadCount,0); }