Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
afb-stub-ws: Enforce asynchronous describe
[src/app-framework-binder.git]
/
src
/
evmgr.c
diff --git
a/src/evmgr.c
b/src/evmgr.c
index
557a9f3
..
744d08b
100644
(file)
--- a/
src/evmgr.c
+++ b/
src/evmgr.c
@@
-47,6
+47,14
@@
struct evmgr
#define EVLOOP_STATE_WAIT 1U
#define EVLOOP_STATE_RUN 2U
+/**
+ * prepare the evmgr to run
+ */
+void evmgr_prepare_run(struct evmgr *evmgr)
+{
+ evmgr->state = EVLOOP_STATE_WAIT|EVLOOP_STATE_RUN;
+}
+
/**
* Run the event loop is set.
*/