summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author zhangjianqiu <zhangjianqiu@oppo.com> 2021-11-16 16:46:13 +0800
committer zhangjianqiu <zhangjianqiu@oppo.com> 2021-11-24 09:48:01 +0800
commit1bc2b9c6120048f16785d07b3e9afa59a623a474 (patch)
tree5392ce04da9698afbdacd8978233962c16028efd /cmds/bootanimation/BootAnimation.cpp
parent5f91507b2b13c0132ad198d22db75c2b51a9a663 (diff)
Fix an issue when empty the usap pool.
When empty the usap pool, the usap processes may be blocked by usapPoolSocket.accept(), which cause the usap process fail to kill immediately. So we can move the position of blockSigTerm after usapPoolsSocket.accept() and delele the old blockSigTerm in the while loop. Test: manual test. 1.setprop persist.device_config.runtime_native.usap_pool_enabled true. After 1 min, trigger fill usap pools. 2.setprop persist.device_config.runtime_native.usap_pool_enabled false. After 1 min, trigger empty usap pools. 3.repeat step 1. Signed-off-by: zhangjianqiu <zhangjianqiu@oppo.com> Change-Id: I657940b30f71cdc717c673be6d70738e61e2bb68
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions