[all-commits] [llvm/llvm-project] 5314d9: Use `llvm::unique_function` in the async APIs (#16...

Chandler Carruth via All-commits all-commits at lists.llvm.org
Thu Nov 6 20:03:09 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5314d99d30528fde9052a39cfc7948c2919cb6b6
      https://github.com/llvm/llvm-project/commit/5314d99d30528fde9052a39cfc7948c2919cb6b6
  Author: Chandler Carruth <chandlerc at gmail.com>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

  Changed paths:
    M llvm/include/llvm/Support/ThreadPool.h
    M llvm/lib/Support/ThreadPool.cpp
    M llvm/unittests/Support/ThreadPool.cpp

  Log Message:
  -----------
  Use `llvm::unique_function` in the async APIs (#166727)

This is needed to allow using these APIs with callable objects that
transitively capture move-only constructs. These come up very widely
when writing concurrent code such a `std::future`, `std::promise`,
`std::unique_lock`, etc.



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