[all-commits] [llvm/llvm-project] 744616: Rename `ThreadPool::getThreadCount()` to `getMaxCo...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Feb 19 18:07:24 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 744616b3aebd008a5ad0e9de9f82f5e284440ab1
      https://github.com/llvm/llvm-project/commit/744616b3aebd008a5ad0e9de9f82f5e284440ab1
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-02-19 (Mon, 19 Feb 2024)

  Changed paths:
    M bolt/tools/merge-fdata/merge-fdata.cpp
    M clang/tools/clang-scan-deps/ClangScanDeps.cpp
    M llvm/include/llvm/Support/ThreadPool.h
    M llvm/lib/Debuginfod/Debuginfod.cpp
    M llvm/lib/LTO/LTO.cpp
    M mlir/include/mlir/IR/Threading.h
    M mlir/lib/ExecutionEngine/AsyncRuntime.cpp
    M mlir/lib/IR/MLIRContext.cpp
    M mlir/lib/Pass/Pass.cpp

  Log Message:
  -----------
  Rename `ThreadPool::getThreadCount()` to `getMaxConcurrency()` (NFC) (#82296)

This is addressing a long-time TODO to rename this misleading API. The
old one is preserved for now but marked deprecated.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list