[all-commits] [llvm/llvm-project] f63f28: [mlir:async] Fix deadlock in async runtime await-a...

Eugene Zhulenev via All-commits all-commits at lists.llvm.org
Wed Jan 27 05:09:15 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f63f28ed54e724128e61fb22185ce6b167b29de0
      https://github.com/llvm/llvm-project/commit/f63f28ed54e724128e61fb22185ce6b167b29de0
  Author: Eugene Zhulenev <ezhulenev at google.com>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    M mlir/lib/ExecutionEngine/AsyncRuntime.cpp

  Log Message:
  -----------
  [mlir:async] Fix deadlock in async runtime await-and-execute functions

`emplace???` functions running concurrently can set the ready flag and then pending awaiter will never be executed

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




More information about the All-commits mailing list