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:
parent
9b39493d93
commit
8af18ab227
1 changed files with 1 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue