Bringing back multithreaded thumbnails creation ; was commented out in changeset 1be6f248cb68 on 2013-01-10, see issue 1575

This commit is contained in:
natureh 510
2013-04-13 01:14:34 +02:00
parent 4414dc4a53
commit b2a0303516

View File

@@ -66,10 +66,9 @@ public:
inactive_waiting_(false) inactive_waiting_(false)
{ {
int threadCount=1; int threadCount=1;
/* Test: Only 1 thread for thumbnails creation, since tools are already parallelized
#ifdef _OPENMP #ifdef _OPENMP
threadCount=omp_get_num_procs(); threadCount=omp_get_num_procs();
#endif */ #endif
threadPool_=new Glib::ThreadPool(threadCount,0); threadPool_=new Glib::ThreadPool(threadCount,0);
} }