[all-commits] [llvm/llvm-project] ae3312: [ORC] Rename ThreadSafeModule::takingModuleDo to c...

lhames via All-commits all-commits at lists.llvm.org
Mon Jan 2 17:51:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae331245b730a2c91ecc227c4cb1198d2b3ad94e
      https://github.com/llvm/llvm-project/commit/ae331245b730a2c91ecc227c4cb1198d2b3ad94e
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-01-02 (Mon, 02 Jan 2023)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
    M llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp

  Log Message:
  -----------
  [ORC] Rename ThreadSafeModule::takingModuleDo to consumingModuleDo.

Renamed to emphasize intent: this method allows the module to be consumed by the
callback (while protected by the context lock), but we don't want to imply that
the Module could be taken out of the ThreadSafeModule (where it would no longer
be protected by that lock).




More information about the All-commits mailing list