[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r10681 - gnuradio/trunk/gnuradio-core/src/lib/general
From: |
eb |
Subject: |
[Commit-gnuradio] r10681 - gnuradio/trunk/gnuradio-core/src/lib/general |
Date: |
Wed, 25 Mar 2009 13:13:59 -0600 (MDT) |
Author: eb
Date: 2009-03-25 13:13:58 -0600 (Wed, 25 Mar 2009)
New Revision: 10681
Modified:
gnuradio/trunk/gnuradio-core/src/lib/general/gri_fft.cc
Log:
missing lock
Modified: gnuradio/trunk/gnuradio-core/src/lib/general/gri_fft.cc
===================================================================
--- gnuradio/trunk/gnuradio-core/src/lib/general/gri_fft.cc 2009-03-25
02:39:08 UTC (rev 10680)
+++ gnuradio/trunk/gnuradio-core/src/lib/general/gri_fft.cc 2009-03-25
19:13:58 UTC (rev 10681)
@@ -194,6 +194,9 @@
gri_fft_real_rev::gri_fft_real_rev (int fft_size)
{
+ // Hold global mutex during plan construction and destruction.
+ gri_fft_planner::scoped_lock lock(gri_fft_planner::mutex());
+
assert (sizeof (fftwf_complex) == sizeof (gr_complex));
if (fft_size <= 0)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r10681 - gnuradio/trunk/gnuradio-core/src/lib/general,
eb <=