summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib
diff options
context:
space:
mode:
authorJosh Blum2012-09-29 20:13:38 -0700
committerJohnathan Corgan2012-09-29 21:51:46 -0700
commita7e260a09bdb923b77174cedd31c2d7d70f32765 (patch)
treeb6492ed2e1731a71148dc0f3807b5e9a20a2dac7 /gnuradio-core/src/lib
parent3795a17b08404ff7ce5958afe1585b6b2ba561d7 (diff)
downloadgnuradio-a7e260a09bdb923b77174cedd31c2d7d70f32765.tar.gz
gnuradio-a7e260a09bdb923b77174cedd31c2d7d70f32765.tar.bz2
gnuradio-a7e260a09bdb923b77174cedd31c2d7d70f32765.zip
core: source block can yield thread context/produce none
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r--gnuradio-core/src/lib/runtime/gr_block_executor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_block_executor.cc b/gnuradio-core/src/lib/runtime/gr_block_executor.cc
index 6fea14613..c08534475 100644
--- a/gnuradio-core/src/lib/runtime/gr_block_executor.cc
+++ b/gnuradio-core/src/lib/runtime/gr_block_executor.cc
@@ -449,6 +449,7 @@ gr_block_executor::run_one_iteration()
// We didn't produce any output even though we called general_work.
// We have (most likely) consumed some input.
+ /*
// If this is a source, it's broken.
if (d->source_p()){
std::cerr << "gr_block_executor: source " << m
@@ -456,6 +457,7 @@ gr_block_executor::run_one_iteration()
// FIXME maybe we ought to raise an exception...
goto were_done;
}
+ */
// Have the caller try again...
return READY_NO_OUTPUT;