summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-03-25 11:41:44 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-03-25 13:06:21 -0400
commitcc7165b62a3e44aabdac4cb2d3cfe31dac0dab67 (patch)
tree3fff132a26178c3886e7c29a47904b6aca82e1d0 /lib/command.c
parentb53e10a1739b31cb8900ea792572d15919edbcea (diff)
lib: Fix handling of poll
poll returns the number of revents that we need to handle in the array. revent is a bit field of events that need to be handled. thread.c was treating each sub item in the bitfield as a separate item to handle. As such the loop over the pollfds would quit early sometimes. Ticket: CM-10077 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions