diff options
author | Yusuke Sato <yusukes@google.com> | 2015-06-16 13:51:14 -0700 |
---|---|---|
committer | Yusuke Sato <yusukes@google.com> | 2015-06-16 13:59:32 -0700 |
commit | d50393057a6551c3bb498ed3a3bb7bd9eeb48225 (patch) | |
tree | 6d68941cafdecaef89037b6328e81789a651c34b /libusbhost | |
parent | d5600fd40fac5e90532ea08e22940965cfdd7710 (diff) | |
download | system_core-d50393057a6551c3bb498ed3a3bb7bd9eeb48225.zip system_core-d50393057a6551c3bb498ed3a3bb7bd9eeb48225.tar.gz system_core-d50393057a6551c3bb498ed3a3bb7bd9eeb48225.tar.bz2 |
processgroup: change the polling interval for killProcessGroup()
to make the function faster on average. Since killing a process
takes about 40-60ms on a recent device, the previous logic tends
to sleep too long. This CL does not significantly change the total
timeout (old code: 204ms, new code: 200ms).
Bug: 21813611
Change-Id: Ica44b2437ccccaebadcf585d7a09d993ce71a499
Diffstat (limited to 'libusbhost')
0 files changed, 0 insertions, 0 deletions