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_msg_queue.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_msg_queue.cc')
-rw-r--r-- | gnuradio-runtime/lib/gr_msg_queue.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/lib/gr_msg_queue.cc b/gnuradio-runtime/lib/gr_msg_queue.cc index 0cf0467715..03bbe046a4 100644 --- a/gnuradio-runtime/lib/gr_msg_queue.cc +++ b/gnuradio-runtime/lib/gr_msg_queue.cc @@ -49,7 +49,7 @@ gr_msg_queue::insert_tail(gr_message_sptr msg) if (msg->d_next) throw std::invalid_argument("gr_msg_queue::insert_tail: msg already in queue"); - gruel::scoped_lock guard(d_mutex); + gr::thread::scoped_lock guard(d_mutex); while (full_p()) d_not_full.wait(guard); @@ -72,7 +72,7 @@ gr_msg_queue::insert_tail(gr_message_sptr msg) gr_message_sptr gr_msg_queue::delete_head() { - gruel::scoped_lock guard(d_mutex); + gr::thread::scoped_lock guard(d_mutex); gr_message_sptr m; while ((m = d_head) == 0) @@ -94,7 +94,7 @@ gr_msg_queue::delete_head() gr_message_sptr gr_msg_queue::delete_head_nowait() { - gruel::scoped_lock guard(d_mutex); + gr::thread::scoped_lock guard(d_mutex); gr_message_sptr m; if ((m = d_head) == 0){ |