diff options
author | eb | 2009-03-25 19:13:58 +0000 |
---|---|---|
committer | eb | 2009-03-25 19:13:58 +0000 |
commit | ecc7cd7f1f7b2e446c87e21d2023f197e8ed41e2 (patch) | |
tree | ba4dc31b610d6c9b334a0862da1424ba59a8f566 /gnuradio-core/src/lib/general | |
parent | 4f480479afac529eadc65f4e0bc6fe13e42553b3 (diff) | |
download | gnuradio-ecc7cd7f1f7b2e446c87e21d2023f197e8ed41e2.tar.gz gnuradio-ecc7cd7f1f7b2e446c87e21d2023f197e8ed41e2.tar.bz2 gnuradio-ecc7cd7f1f7b2e446c87e21d2023f197e8ed41e2.zip |
missing lock
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10681 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src/lib/general')
-rw-r--r-- | gnuradio-core/src/lib/general/gri_fft.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/general/gri_fft.cc b/gnuradio-core/src/lib/general/gri_fft.cc index b7245a389..e535f28c7 100644 --- a/gnuradio-core/src/lib/general/gri_fft.cc +++ b/gnuradio-core/src/lib/general/gri_fft.cc @@ -194,6 +194,9 @@ gri_fft_real_fwd::execute () 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) |