|
From: | bojiechen |
Subject: | [Discuss-gnuradio] A basic but critical problem in stopping of python code |
Date: | Sun, 23 Jun 2013 15:29:57 +0800 (CST) |
When run a python script file, as we know main function will be run first. We send the class to a object "tb",for instance,we use tb.start or tb.run.
but if we want to stop a flawgraph and reconfiguration.we must use tb.stop with tb.wait and then restart tb.when I use this ,the tb.wait() can not
finish . I don`t know why. even I use tb.lock() and tb.unlock() it doesn`t work too. I take this test in tunnel.py.
[Prev in Thread] | Current Thread | [Next in Thread] |