summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2021-10-18 21:22:58 +0200
committerMaria Matejka <mq@ucw.cz>2021-11-22 19:05:44 +0100
commit4f3fa1623f66acd24c227cf0cc5a4af2f5133b6c (patch)
tree1083051b5fb5525543c8e51545c8311cdd8e4320
parent878eeec12bf020c9e7460040d225a929bbbd2bd2 (diff)
Pipe runs in parallel.
-rw-r--r--nest/proto.c1
-rw-r--r--proto/pipe/config.Y1
2 files changed, 2 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c
index 4ae0cbfd..623585f1 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -1413,6 +1413,7 @@ proto_event(void *ptr)
{
if (p->proto == &proto_unix_iface)
if_flush_ifaces(p);
+
p->do_stop = 0;
}
diff --git a/proto/pipe/config.Y b/proto/pipe/config.Y
index c869de9f..fc08445f 100644
--- a/proto/pipe/config.Y
+++ b/proto/pipe/config.Y
@@ -25,6 +25,7 @@ proto: pipe_proto '}' { this_channel = NULL; } ;
pipe_proto_start: proto_start PIPE
{
this_proto = proto_config_new(&proto_pipe, $1);
+ this_proto->loop_order = DOMAIN_ORDER(proto);
PIPE_CFG->max_generation = 16;
}
proto_name