Tom Tromey
6107546876
Avoid submitting empty tasks in parallel_for_each
...
I found that parallel_for_each would submit empty tasks to the thread
pool. For example, this can happen if the number of tasks is smaller
than the number of available threads. In the DWARF reader, this
resulted in the cooked index containing empty sub-indices. This patch
arranges to instead shrink the result vector and process the trailing
entries in the calling thread.
(cherry picked from commit 63078a0498 )
2023-01-17 07:06:56 -07:00
..
2023-01-01 17:07:37 +04:00
2020-03-05 15:59:22 +01:00
2022-01-13 10:25:45 +00:00
2020-10-31 08:30:57 -04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2021-07-26 12:20:33 +01:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-12 07:20:46 -07:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-12 07:20:46 -07:00
2023-01-01 17:07:37 +04:00
2022-06-27 13:55:36 +01:00
2023-01-12 07:20:46 -07:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2022-09-08 11:03:12 +00:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-17 07:06:56 -07:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00
2023-01-01 17:07:37 +04:00