projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uloop: add uloop_cancelling function
[project/libubox.git]
/
uloop.h
diff --git
a/uloop.h
b/uloop.h
index
2f1eb4c
..
5ab9a5f
100644
(file)
--- a/
uloop.h
+++ b/
uloop.h
@@
-97,6
+97,8
@@
int uloop_timeout_remaining(struct uloop_timeout *timeout);
int uloop_process_add(struct uloop_process *p);
int uloop_process_delete(struct uloop_process *p);
+bool uloop_cancelling(void);
+
static inline void uloop_end(void)
{
uloop_cancelled = true;