summaryrefslogtreecommitdiffstats
path: root/src/afb-api.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-08-31 19:21:03 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-08-31 19:21:03 +0200
commit46ac3bf9554a75e137d5209d27160c1137d42302 (patch)
treefcf54e895a67c93274137cde3f7a1ab529af64c3 /src/afb-api.h
parent2e83db0375d44c0b05742e787f6abd4127e2aac8 (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.h')
-rw-r--r--src/afb-api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-api.h b/src/afb-api.h
index c8cb2d65..1a149886 100644
--- a/src/afb-api.h
+++ b/src/afb-api.h
@@ -35,6 +35,7 @@ struct afb_api
{
void *closure;
struct afb_api_itf *itf;
+ unsigned noconcurrency: 1;
};
extern int afb_api_is_valid_name(const char *name);