summaryrefslogtreecommitdiff
path: root/gnuradio-core
diff options
context:
space:
mode:
authorTom Rondeau2013-05-08 23:07:32 -0400
committerTom Rondeau2013-05-08 23:07:32 -0400
commit00796f668331ee9d4d00817dbe224b57be164d1a (patch)
tree7e3d7b3067bf840bdab2f698d6a55033f02c8b1b /gnuradio-core
parent3868a90728478e541d7b1b4864da1fbef59bcf34 (diff)
downloadgnuradio-00796f668331ee9d4d00817dbe224b57be164d1a.tar.gz
gnuradio-00796f668331ee9d4d00817dbe224b57be164d1a.tar.bz2
gnuradio-00796f668331ee9d4d00817dbe224b57be164d1a.zip
runtime: forgot to go back to the 'old' style using gruel.
Diffstat (limited to 'gnuradio-core')
-rw-r--r--gnuradio-core/src/lib/runtime/gr_block_detail.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_block_detail.cc b/gnuradio-core/src/lib/runtime/gr_block_detail.cc
index ecc0c1f98..4922ea083 100644
--- a/gnuradio-core/src/lib/runtime/gr_block_detail.cc
+++ b/gnuradio-core/src/lib/runtime/gr_block_detail.cc
@@ -261,7 +261,7 @@ gr_block_detail::stop_perf_counters(int noutput_items, int nproduced)
d_var_input_buffers_full[i] = 0;
}
for(size_t i=0; i < d_output.size(); i++) {
- gr::thread::scoped_lock guard(*d_output[i]->mutex());
+ gruel::scoped_lock guard(*d_output[i]->mutex());
float pfull = 1.0f - static_cast<float>(d_output[i]->space_available()) /
static_cast<float>(d_output[i]->bufsize());
d_avg_output_buffers_full[i] = pfull;
@@ -291,7 +291,7 @@ gr_block_detail::stop_perf_counters(int noutput_items, int nproduced)
}
for(size_t i=0; i < d_output.size(); i++) {
- gr::thread::scoped_lock guard(*d_output[i]->mutex());
+ gruel::scoped_lock guard(*d_output[i]->mutex());
float pfull = 1.0f - static_cast<float>(d_output[i]->space_available()) /
static_cast<float>(d_output[i]->bufsize());