diff options
Diffstat (limited to 'gnuradio-runtime/include/gnuradio/rpcbufferedget.h')
-rw-r--r-- | gnuradio-runtime/include/gnuradio/rpcbufferedget.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnuradio-runtime/include/gnuradio/rpcbufferedget.h b/gnuradio-runtime/include/gnuradio/rpcbufferedget.h index ebd740b1f8..ad05551d1a 100644 --- a/gnuradio-runtime/include/gnuradio/rpcbufferedget.h +++ b/gnuradio-runtime/include/gnuradio/rpcbufferedget.h @@ -25,7 +25,6 @@ #include <boost/thread/condition_variable.hpp> #include <boost/thread/mutex.hpp> -#include <stdio.h> template<typename TdataType> class rpcbufferedget { @@ -49,8 +48,8 @@ public: } TdataType get() { - d_data_needed = true; boost::mutex::scoped_lock lock(d_buffer_lock); + d_data_needed = true; d_data_ready.wait(lock); return d_buffer; } |