From: Jose Bollo Date: Fri, 2 Aug 2019 14:23:50 +0000 (+0200) Subject: Avoid lock when child dies X-Git-Tag: 8.99.1~15 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=6f13ad1989875b5a0ce50b24211fd1fba093735f;hp=6f13ad1989875b5a0ce50b24211fd1fba093735f;p=src%2Fapp-framework-binder.git Avoid lock when child dies Interaction between pthread_cond_wait, pthread_broadcast and signal may lead to lock when the child of afb-daemon dies. To avoid that sad behavior, this commit defers the call to "job_exit" using lazy job queueing. Bug-AGL: SPEC-2720 Change-Id: Ifd1a56f4a439e1704f79a1291fa01f39b1640f29 Signed-off-by: Jose Bollo ---