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>
Sun, 17 Sep 2017 18:10:50 +0000 (14:10 -0400)
commit9ef22b36c2957c00c72d0213a7a1508011c3a820
treedac43f197aa471c888dc9005bb4a8237fb54101d
parent7deebb2f9043775f5fc4d1668c45c645f3f7d314
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.024256 seconds and 4 git commands to generate.