[all-commits] [llvm/llvm-project] e84697: Split the locking of the queue and the threads vec...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Fri Dec 3 20:21:38 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e846971811efbcf75a6cbedd9aebd58cecaf8188
      https://github.com/llvm/llvm-project/commit/e846971811efbcf75a6cbedd9aebd58cecaf8188
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-12-04 (Sat, 04 Dec 2021)

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

  Log Message:
  -----------
  Split the locking of the queue and the threads vector in the ThreadPool implementation

This allows to release the QueueLock early and create Thread
independently of the queue processing.

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




More information about the All-commits mailing list