Make HelloWord binding multi-thread
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 10 Apr 2017 19:35:57 +0000 (21:35 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 10 Apr 2017 19:35:57 +0000 (21:35 +0200)
commit8342fcc144bd8f1d9a24c1a018c15440dd43481d
treedc58109a52bf6d621a1e451330f5da6cefbf746c
parent5c87873a2134045dcd013d8e55acc4b5ca841131
Make HelloWord binding multi-thread

Handling of event was not compatible with
multi threaded. This implmentation solves
this by protecting event access with mutexes.

Change-Id: Ie52216289000f1ae6352c9dda442dfbda1ebe850
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
bindings/samples/HelloWorld.c