HomePhabricator

[mlir:async] Fix data races in AsyncRuntime

Authored by ezhulenev on Jan 20 2021, 5:17 AM.

Description

[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

Details

Committed
ezhulenevJan 20 2021, 1:23 PM
Reviewer
mehdi_amini
Differential Revision
D95037: [mlir:async] Fix data races in AsyncRuntime
Parents
rG36b05d2e9f55: [gn build] Port 95ce32c7878d
Branches
Unknown
Tags
Unknown