Page MenuHomePhabricator

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

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



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.