projects
/
project
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2a9edb4
)
allow process callback to call uloop_end()
author
John Crispin
<blogic@openwrt.org>
Sat, 21 Mar 2015 04:49:38 +0000
(
05:49
+0100)
committer
John Crispin
<blogic@openwrt.org>
Sat, 21 Mar 2015 04:50:23 +0000
(
05:50
+0100)
Signed-off-by: John Crispin <blogic@openwrt.org>
uloop.c
patch
|
blob
|
history
diff --git
a/uloop.c
b/uloop.c
index
9ebeca6
..
ea160a0
100644
(file)
--- a/
uloop.c
+++ b/
uloop.c
@@
-680,11
+680,13
@@
void uloop_run(void)
{
uloop_gettime(&tv);
uloop_process_timeouts(&tv);
- if (uloop_cancelled)
- break;
if (do_sigchld)
uloop_handle_processes();
+
+ if (uloop_cancelled)
+ break;
+
uloop_gettime(&tv);
uloop_run_events(uloop_get_next_timeout(&tv));
}