Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from:
6f13ad1
)
Avoid lock when child dies
78/22078/2
author
Jose Bollo
<jose.bollo@iot.bzh>
Fri, 2 Aug 2019 14:23:50 +0000
(16:23 +0200)
committer
José Bollo
<jose.bollo@iot.bzh>
Fri, 9 Aug 2019 14:34:43 +0000
(14:34 +0000)
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 <jose.bollo@iot.bzh>
No differences found