[all-commits] [llvm/llvm-project] 683580: Add optimal thread strategy

dmantipov via All-commits all-commits at lists.llvm.org
Wed Sep 23 09:44:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 68358081585b160c38443425935457235a4b9d1a
      https://github.com/llvm/llvm-project/commit/68358081585b160c38443425935457235a4b9d1a
  Author: Dmitry Antipov <dmantipov at yandex.ru>
  Date:   2020-09-23 (Wed, 23 Sep 2020)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
    M llvm/include/llvm/Support/Threading.h

  Log Message:
  -----------
  Add optimal thread strategy

Add an optimal thread strategy to execute specified amount of tasks.
This strategy should prevent us from creating too many threads if we
occasionaly have an unexpectedly small amount of tasks.

Differential Revision: https://reviews.llvm.org/D87765




More information about the All-commits mailing list