diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-03-29 17:31:06 -0400 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2013-04-01 16:23:06 -0700 |
commit | f74d3dae8f2ec423c61932b4ad0359f98b996a51 (patch) | |
tree | 1e16eb3537829248c177b04209acce3fe2bead96 /gnuradio-runtime/lib/gr_top_block_impl.cc | |
parent | eea0e411411303ea94953c5cd8454c4139a474ff (diff) |
gruel: moved gruel into subdirs of gnuradio-runtime.
PMTs are handled slightly different and are installed into their own module and include dir.
Diffstat (limited to 'gnuradio-runtime/lib/gr_top_block_impl.cc')
-rw-r--r-- | gnuradio-runtime/lib/gr_top_block_impl.cc | 6 |
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 |