uloop: allow specifying a timeout for uloop_run()
authorFelix Fietkau <nbd@nbd.name>
Thu, 1 Jun 2017 09:24:37 +0000 (11:24 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 1 Jun 2017 09:24:44 +0000 (11:24 +0200)
commit368fd2645878edadc72c60948d1f19c6769751d6
treeadae81a2dfe43e5d47f81715d150d0a0329c9f40
parentfa9937cc4f8e60ddfc2dd9b5820eac49bef3de6e
uloop: allow specifying a timeout for uloop_run()

This can be useful for cleanup with pending timers, or for hooking into
existing code that does not use uloop

Signed-off-by: Felix Fietkau <nbd@nbd.name>
uloop.c
uloop.h