]> sigrok.org Git - libsigrok.git/commit
session: Properly accumulate event source timeouts
authorDaniel Elstner <redacted>
Sun, 30 Aug 2015 19:43:30 +0000 (21:43 +0200)
committerDaniel Elstner <redacted>
Thu, 3 Sep 2015 17:37:09 +0000 (19:37 +0200)
commit62d7945f8059ccbf56dfa2e5eb60671dd5bc959b
tree94309a75d8c932345f57b7c557e93d986a5c70cb
parent4399cc0f41077cd975601a095fd272a2bf27bb99
session: Properly accumulate event source timeouts

Keep track of when source timeouts are due and properly compare
against accumulated elapsed time between invocations. This prevents
sources with short timeouts from blocking other sources with longer
timeouts indefinitely.
src/libsigrok-internal.h
src/session.c
src/usb.c