lib: graph: disallow recursive consuming
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 18 Aug 2017 20:43:18 +0000 (16:43 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 15 Sep 2017 18:24:01 +0000 (14:24 -0400)
commit1d9157896dc759fcf7da3803523cf32a2400f1c0
treea38f0bc253cb147be2e9eb00ef2e1edfb94cdb4d
parent4fef099a85fb9ec09a182180fe31d935fcdc5dae
lib: graph: disallow recursive consuming

Do not allow a user component to consume or run its parent graph if the
graph is in one of the following states (operations):

* Consuming (running)
* Connection ports
* Adding (creating) a component

test_graph.py tests this feature through the Python bindings.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
bindings/python/bt2/bt2/__init__.py.in
bindings/python/bt2/bt2/graph.py
bindings/python/bt2/bt2/native_btgraph.i
include/babeltrace/graph/graph-internal.h
include/babeltrace/graph/graph.h
lib/graph/graph.c
tests/bindings/python/bt2/test_graph.py
This page took 0.025157 seconds and 4 git commands to generate.