mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
pipe: start/stop interfaces
This commit is contained in:
parent
2d6188e5da
commit
a374acb499
1 changed files with 4 additions and 0 deletions
|
@ -391,6 +391,8 @@ check: if (optarg == endptr)
|
|||
if (ret)
|
||||
throw RuntimeError("Failed to start node {}: reason={}", node_name(node), ret);
|
||||
|
||||
sn.startInterfaces();
|
||||
|
||||
/* Start threads */
|
||||
Directions dirs = {
|
||||
.send = Direction(node, &io, enable_send, limit_send),
|
||||
|
@ -430,6 +432,8 @@ check: if (optarg == endptr)
|
|||
if (ret)
|
||||
throw RuntimeError("Failed to stop node type {}: reason={}", node_type_name(node->_vt), ret);
|
||||
|
||||
sn.stopInterfaces();
|
||||
|
||||
ret = io_close(&io);
|
||||
if (ret)
|
||||
throw RuntimeError("Failed to close IO");
|
||||
|
|
Loading…
Add table
Reference in a new issue