summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/gr_top_block_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/lib/gr_top_block_impl.cc')
-rw-r--r--gnuradio-runtime/lib/gr_top_block_impl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/lib/gr_top_block_impl.cc b/gnuradio-runtime/lib/gr_top_block_impl.cc
index b6d427ce27..ef645ea57d 100644
--- a/gnuradio-runtime/lib/gr_top_block_impl.cc
+++ b/gnuradio-runtime/lib/gr_top_block_impl.cc
@@ -92,7 +92,7 @@ gr_top_block_impl::~gr_top_block_impl()
void
gr_top_block_impl::start(int max_noutput_items)
{
- gruel::scoped_lock l(d_mutex);
+ gr::thread::scoped_lock l(d_mutex);
d_max_noutput_items = max_noutput_items;
@@ -141,14 +141,14 @@ gr_top_block_impl::wait()
void
gr_top_block_impl::lock()
{
- gruel::scoped_lock lock(d_mutex);
+ gr::thread::scoped_lock lock(d_mutex);
d_lock_count++;
}
void
gr_top_block_impl::unlock()
{
- gruel::scoped_lock lock(d_mutex);
+ gr::thread::scoped_lock lock(d_mutex);
if (d_lock_count <= 0){
d_lock_count = 0; // fix it, then complain