jobs: Fix callsync hanging 68/22868/2 8.0.3 8.0.4 8.0.5 8.0.6 halibut/8.0.3 halibut/8.0.4 halibut/8.0.5 halibut/8.0.6 halibut_8.0.3 halibut_8.0.4 halibut_8.0.5 halibut_8.0.6
authorJose Bollo <jose.bollo@iot.bzh>
Wed, 6 Nov 2019 10:12:16 +0000 (11:12 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 6 Nov 2019 11:08:23 +0000 (11:08 +0000)
commitaeb015becc84a457afd5a5fb82e26dfca0978c83
treebeb5041d877e70cc37a0dd5d0cac7be45c7fe166
parent6cbd15fc52490e85babb60f76a0d1887cbe88696
jobs: Fix callsync hanging

The function implementing jobs_enter, used by
implementations of synchronous calls, was not
taking care of waking up a thread. This had the
effect of blocking calls made by an external thread.

Bug-AGL: SPEC-2937

Change-Id: I4bf0265b4c029fb619ef7128824ee9d46a45996e
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
src/jobs.c