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 dont know why. even I use tb.lock() and tb.unlock() it doesn
t work too. I take this test in tunnel.py.
On Sun, Jun 23, 2013 at 3:29 AM, bojiechen [email protected] wrote:
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 notfinish . I don
t know why. even I use tb.lock() and tb.unlock() it doesn
t
If you are reconfiguring the flowgraph, just use:
tb.lock()
(Put your disconnect and connect lines here)
tb.unlock()
That should be all.
work too. I take this test in tunnel.py.
Don’t use tunnel.py. It’s probably not completing something and
staying in a deadlock state.
Tom