summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/gnuradio
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2015-04-04 10:14:00 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2015-04-04 10:14:00 -0700
commit0e4f02cfee57c73712a8bb21b408d69d9fcfe1b9 (patch)
tree6580c74a77c5667f1825bc597d363a2fefbf9c7a /gnuradio-runtime/python/gnuradio
parent83ded122ba7c0db8c3cd113c9e7c2814937775ca (diff)
parente16f9489d71720e8a9d9ec37ced0c033a99c87aa (diff)
Merge branch 'master' into next
Diffstat (limited to 'gnuradio-runtime/python/gnuradio')
-rw-r--r--gnuradio-runtime/python/gnuradio/gr/top_block.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gr/top_block.py b/gnuradio-runtime/python/gnuradio/gr/top_block.py
index f9872fc114..f449d98489 100644
--- a/gnuradio-runtime/python/gnuradio/gr/top_block.py
+++ b/gnuradio-runtime/python/gnuradio/gr/top_block.py
@@ -22,7 +22,7 @@
from runtime_swig import top_block_swig, \
top_block_wait_unlocked, top_block_run_unlocked, \
top_block_start_unlocked, top_block_stop_unlocked, \
- dot_graph_tb
+ top_block_unlock_unlocked, dot_graph_tb
#import gnuradio.gr.gr_threading as _threading
import gr_threading as _threading
@@ -118,6 +118,12 @@ class top_block(hier_block2):
self.start(max_noutput_items)
self.wait()
+ def unlock(self):
+ """
+ Release lock and continue execution of flow-graph.
+ """
+ top_block_unlock_unlocked(self._impl)
+
def wait(self):
"""
Wait for the flowgraph to finish running