uloop: add uloop_cancelling function
authorFelix Fietkau <nbd@nbd.name>
Fri, 3 Feb 2017 15:52:17 +0000 (16:52 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 3 Feb 2017 15:52:21 +0000 (16:52 +0100)
commitde3f14b643f09c799845073eaf3577a334d0726d
tree0e40bd9a5eb0f3316b155a3b07a513c919fb4a0e
parent3b6181b63d80e77c04a52d7439a87850eea1fe78
uloop: add uloop_cancelling function

Returns true if uloop_run is still running and uloop_cancelled is set

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