jobs: Ensure releasing event loop 71/19971/1
authorJose Bollo <jose.bollo@iot.bzh>
Wed, 6 Feb 2019 16:16:09 +0000 (17:16 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Wed, 6 Feb 2019 18:54:31 +0000 (19:54 +0100)
commit74f381d988cd04707c2044ca2a201ad8bf87a6f3
treef4a9a7dc5a3a810072142d8876c4dfa13955086f
parentbc60ee2616f6fa0b9400f38d7808b61f3090c754
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