jobs: Ensure releasing event loop 61/19961/1
authorJose Bollo <jose.bollo@iot.bzh>
Wed, 6 Feb 2019 16:16:09 +0000 (17:16 +0100)
committerJose Bollo <jose.bollo@iot.bzh>
Wed, 6 Feb 2019 16:27:11 +0000 (17:27 +0100)
commitfcd68bb0f872c65c4317377f787f5fdddea6e5d0
treede1fa0464ebda4ff12477f7b8fc43957a6b4461c
parent77bf8a30c07a4ab5690337ed362dae4414e590fb
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