diff options
author | Josh Blum | 2012-09-12 01:57:46 -0700 |
---|---|---|
committer | Josh Blum | 2012-09-12 01:57:46 -0700 |
commit | 79276543e665a53eb6f976c47f4c92e8faf844ba (patch) | |
tree | e1abdbeca3232567e231eb9897da72af65a111a5 /lib/gras_impl/interruptible_thread.hpp | |
parent | 8695f6127a447dbe6f5cf6eeba9d5cd110e33420 (diff) | |
download | sandhi-79276543e665a53eb6f976c47f4c92e8faf844ba.tar.gz sandhi-79276543e665a53eb6f976c47f4c92e8faf844ba.tar.bz2 sandhi-79276543e665a53eb6f976c47f4c92e8faf844ba.zip |
communicate downstream buffer reqs to upstream output allocator
Diffstat (limited to 'lib/gras_impl/interruptible_thread.hpp')
-rw-r--r-- | lib/gras_impl/interruptible_thread.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gras_impl/interruptible_thread.hpp b/lib/gras_impl/interruptible_thread.hpp index 1e99111..e7025bf 100644 --- a/lib/gras_impl/interruptible_thread.hpp +++ b/lib/gras_impl/interruptible_thread.hpp @@ -91,6 +91,7 @@ namespace gnuradio { while (_wait_msg) _cond.wait(lock); _wait_msg = true; + if (not _callable) break; _callable(); _wait_ack = false; _notify(lock); |