HomePhabricator

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

Authored by ezhulenev on Jan 27 2021, 4:27 AM.

Description

[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