commit | 359a273b36d810e0fda4117a3131116350db822b | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Tue Oct 15 15:15:31 2013 +0200 |
committer | Hans de Goede <hdegoede@redhat.com> | Wed Nov 20 13:21:28 2013 +0100 |
tree | 0c2bd51b7034d764b646c02fabcd22a5711a3013 | |
parent | 7b62a0a171ac0141a3d12237ab496c49cccd79df [diff] |
io: Ensure all pending events are consumed in one libusb_handle_events call Before this patch if ie multiple hot-plug events were pending, multiple handle_events calls would be necessary to handle them all, this patch changes handle_events so that the poll is re-done to check for more events if there was activity on any of the special fds. Signed-off-by: Hans de Goede <hdegoede@redhat.com>