Make implementation multithread
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 10 Apr 2017 19:39:22 +0000 (21:39 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 10 Apr 2017 19:39:22 +0000 (21:39 +0200)
commitca9807f73646f536ac58c002d963a8bb8d245f5d
treebf673c996dd7cb9f31fdf70cefd0593a34caeb4a
parent80900470d00c56d2fa51fb7c3da429d09e1d9a78
Make implementation multithread

This changes makes many improvement needed
for multi-threading:
 - json object can't be shared across threads
   because get/set is not protected
 - event are now multithread compatible

Change-Id: Id44b12c68e0fa67042b8ea44939af4edfa76270a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-evt.c
src/afb-msg-json.c
src/afb-ws.c
src/sig-monitor.c