aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-03-07 17:25:12 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-03-12 09:26:50 +0100
commit3922f07ae1eda1de5d84832c25197296d1c10311 (patch)
tree0d814dc81e92fafc434d40001581c31b8f86e9bc
parenta9355d79b01131a71d7fbfe78c8140bcf90d9359 (diff)
afb-stub-ws: Allow unordered process of messages
Requests are already sequenced on need (noconcurrency flag of bindings). Sequencing messages until their completion has a side effect when dealing with events and synchronous calls: event -> call -> reply locked until event completion (see SPEC-2219). This change could be reverted if events are converted to jobs (see SPEC-2215). Bug-AGL: SPEC-2219 Change-Id: Ia577bc54ba38291817fd5ed3e3dda1b67b2818b7 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-stub-ws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-stub-ws.c b/src/afb-stub-ws.c
index 5e57dba8..eab897b0 100644
--- a/src/afb-stub-ws.c
+++ b/src/afb-stub-ws.c
@@ -649,7 +649,7 @@ static void on_hangup(void *closure)
static int enqueue_processing(struct afb_proto_ws *proto, void (*callback)(int signum, void* arg), void *arg)
{
- return jobs_queue(proto, 0, callback, arg);
+ return jobs_queue(NULL /* proto */, 0, callback, arg);
}
/*****************************************************/