1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

pipe: fix bug in pool management which caused underruns

This commit is contained in:
Steffen Vogel 2017-12-06 16:57:02 +08:00
parent 9b39493d93
commit 8af18ab227

View file

@ -188,12 +188,8 @@ static void * recv_loop(void *ctx)
warn("Receive pool underrun");
recv = node_read(node, smps, ready);
if (recv < 0) {
if (recv < 0)
warn("Failed to receive samples from node %s: reason=%d", node_name(node), recv);
continue;
}
else if (recv == 0)
continue;
io_print(&io, smps, recv);