diff options
author | Josh Gao <jmgao@google.com> | 2016-11-09 18:01:41 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2016-11-17 18:11:57 -0800 |
commit | 338cf129630ca5839f1ab695b04f7afbe18bb92d (patch) | |
tree | 72f3aab6dea788568808228b9e22f33c2fb4bb76 /libc/stdio/stdio_ext.cpp | |
parent | 8945d5e43a25737f3f888a90742cc918b1124a05 (diff) |
versioner: use a single work queue.
Previously, each thread was assigned a fixed list of work, and the main
thread would block until every thread was finished, leading to most
cores sitting idle for the last few hundred milliseconds while a few
particularly long running threads would keep working. Use a single work
queue to evenly distribute load across the threads.
Bug: http://b/32748936
Test: python run_tests.py
Change-Id: I80e231ece3b95e2721a32f658905841b89a8dc3b
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions