diff options
author | dimitri staessens <[email protected]> | 2016-10-30 10:36:08 +0100 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-10-30 10:36:08 +0100 |
commit | 5d01776443c0a500ffbc79a36745b07b8628bd62 (patch) | |
tree | 60117ebc2d1612d503c8d1e26630a08fc67b17ef /src/lib/shm_rbuff.c | |
parent | 298f78d426cdf8bcd9c8890f117d0236bde20bc4 (diff) | |
download | ouroboros-5d01776443c0a500ffbc79a36745b07b8628bd62.tar.gz ouroboros-5d01776443c0a500ffbc79a36745b07b8628bd62.zip |
lib: Have flow_event_wait return non-zero value
Flow_event_wait will either return -EINVAL, -ETIMEDOUT or a positive
integer indicating the number of SDUs in the fqueue. This allows to
call the function as the condition for a non-terminating while loop.
Diffstat (limited to 'src/lib/shm_rbuff.c')
0 files changed, 0 insertions, 0 deletions