[med-svn] [SCM] aghermann branch, master, updated. 65add7a81ffcf60b3e754aadd631a766286c9c6a

Andrei Zavada johnhommer at gmail.com
Sun Apr 7 16:50:53 UTC 2013


The following commit has been merged in the master branch:
commit 22e14b1791f0bd63e5d1cdb08c4078e7e66ab166
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Sun Apr 7 00:43:16 2013 +0300

    probably fix those random omp-related hangs

diff --git a/src/metrics/psd.cc b/src/metrics/psd.cc
index 3e35b2c..214b479 100644
--- a/src/metrics/psd.cc
+++ b/src/metrics/psd.cc
@@ -164,7 +164,7 @@ go_compute()
 	static fftw_plan fft_plan = NULL;
 	static size_t saved_spp = 0;
 #ifdef _OPENMP
-#pragma omp single
+#pragma omp critical
 #endif
 	{
 //		if ( fft_plan == nullptr ) {

-- 
Sleep experiment manager



More information about the debian-med-commit mailing list