diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-08-31 19:21:03 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-08-31 19:21:03 +0200 |
commit | 46ac3bf9554a75e137d5209d27160c1137d42302 (patch) | |
tree | fcf54e895a67c93274137cde3f7a1ab529af64c3 /src/afb-api-dbus.c | |
parent | 2e83db0375d44c0b05742e787f6abd4127e2aac8 (diff) |
Make noconcurrency more efficient
The previous handling of noconcurrency suffered of
inefficiency, was complicated and dedicated to
api-so-v2.
Change-Id: I32aea9187663ac533819496e9dc9b944db0d89ec
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-api-dbus.c')
-rw-r--r-- | src/afb-api-dbus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-api-dbus.c b/src/afb-api-dbus.c index 0e51c636..3884b60f 100644 --- a/src/afb-api-dbus.c +++ b/src/afb-api-dbus.c @@ -610,6 +610,7 @@ int afb_api_dbus_add_client(const char *path, struct afb_apiset *apiset) /* record it as an API */ afb_api.closure = api; afb_api.itf = &dbus_api_itf; + afb_api.noconcurrency = 0; if (afb_apiset_add(apiset, api->api, afb_api) < 0) goto error2; |