jobs: Ensure releasing event loop
authorJose Bollo <jose.bollo@iot.bzh>
Wed, 6 Feb 2019 16:16:09 +0000 (17:16 +0100)
committerLoïc Collignon <loic.collignon@iot.bzh>
Wed, 27 Feb 2019 16:54:25 +0000 (17:54 +0100)
commite6e45588ed0c9475e6a787b61807af5da062d70f
tree9c4f6800832e55f2786858eb63b3700f1a9fba89
parent983d35119cabb971943713fae6e969e2f5b0f20f
jobs: Ensure releasing event loop

The internal functions blocking threads
for implementing call_sync were not releasing
the event loop, leading to deafness of the
binder.

Include a tuto-4 that reproduce the issue
on a binder with the bug and that also shows
interesting usages of the binder.

Bug-AGL: SPEC-2161

Change-Id: I83ad4d55d721a6046e798a5e06967df4dd5a7284
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
bindings/tutorial/CMakeLists.txt
bindings/tutorial/tuto-4.c [new file with mode: 0644]
src/jobs.c