summaryrefslogtreecommitdiffstats
path: root/stress-server.sh
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-08-02 16:23:50 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2019-08-09 14:34:43 +0000
commit6f13ad1989875b5a0ce50b24211fd1fba093735f (patch)
treee88b8447f6b282384ebaa009057c2871db7fb0ff /stress-server.sh
parent3343b4d0514d25fd1f2365eb25049f748cab688e (diff)
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 <jose.bollo@iot.bzh>
Diffstat (limited to 'stress-server.sh')
0 files changed, 0 insertions, 0 deletions