[all-commits] [llvm/llvm-project] a2223b: [mlir:async] Fix data races in AsyncRuntime

Eugene Zhulenev via All-commits all-commits at lists.llvm.org
Wed Jan 20 13:24:03 PST 2021


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

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

  Log Message:
  -----------
  [mlir:async] Fix data races in AsyncRuntime

Resumed coroutine potentially can deallocate the token/value/group and destroy the mutex before the std::unique_ptr destructor.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list