This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

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

Diff Detail

Event Timeline

ezhulenev created this revision.Jan 27 2021, 4:27 AM
ezhulenev requested review of this revision.Jan 27 2021, 4:27 AM
ezhulenev edited the summary of this revision. (Show Details)Jan 27 2021, 4:28 AM
ezhulenev added a reviewer: mehdi_amini.
This revision was not accepted when it landed; it landed in state Needs Review.Jan 27 2021, 5:09 AM
This revision was automatically updated to reflect the committed changes.