aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-06-10 11:10:14 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-06-10 13:40:53 +0000
commit048c640a64fd064361382a8800de05c87ff630cb (patch)
tree2c896c8ed72d1f589472ee034accc21a3183da42 /executor/executor.cc
parent348a48c80275445af03c893a955f29c3db0eb62d (diff)
executor: optimize waiting for child processes exit
Currently we sleep only for 1 ms, which may produce some excessive CPU load (we usually have 6/8 such processes waiting). Make it sleep for 10 ms, but also make the sleep return immediately on child exit. This shuold both improve latency and reduce CPU load.
Diffstat (limited to 'executor/executor.cc')
0 files changed, 0 insertions, 0 deletions