mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
loopback: add auto mode
This commit is contained in:
parent
6670139439
commit
52fd9e09e5
1 changed files with 3 additions and 1 deletions
|
@ -46,7 +46,9 @@ int loopback_parse(struct node *n, json_t *cfg)
|
|||
jerror(&err, "Failed to parse configuration of node %s", node_name(n));
|
||||
|
||||
if (mode_str) {
|
||||
if (!strcmp(mode_str, "eventfd"))
|
||||
if (!strcmp(mode_str, "auto"))
|
||||
l->queueflags = QUEUE_SIGNALLED_AUTO;
|
||||
else if (!strcmp(mode_str, "eventfd"))
|
||||
l->queueflags = QUEUE_SIGNALLED_EVENTFD;
|
||||
else if (!strcmp(mode_str, "pthread"))
|
||||
l->queueflags = QUEUE_SIGNALLED_PTHREAD;
|
||||
|
|
Loading…
Add table
Reference in a new issue