From: José Bollo Date: Tue, 28 May 2019 07:37:11 +0000 (+0200) Subject: jobs: Fix infinite wait lock X-Git-Tag: 7.99.1~1 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=f9c743046f94769c25ffc5bfd8d190c53cc4d613;hp=f9c743046f94769c25ffc5bfd8d190c53cc4d613;p=src%2Fapp-framework-binder.git jobs: Fix infinite wait lock The binder was sometime locked until an external event comes. This was discovered during stressing startup test that don't expect external inputs and that then waits for always without terminating. The issue came from a little hole in the management of the state of evmgr object. By design the evmgr has to be synchronised against concurrent accesses not by itself but by the integration. However, the state of "running" wasn't set in the code protected against concurent accesses. The new function allows the integrator to correctly set the state before releasing protection. Bug-AGL: SPEC-2459 Signed-off-by: José Bollo Change-Id: Id75fd97c06d69666ced912a0a61380573dab31af ---