Page MenuHomePhabricator

[mlir:async] Fix data races in AsyncRuntime
ClosedPublic

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

Details

Summary

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

Diff Detail

Event Timeline

ezhulenev created this revision.Jan 20 2021, 5:17 AM
ezhulenev requested review of this revision.Jan 20 2021, 5:17 AM
ezhulenev edited the summary of this revision. (Show Details)Jan 20 2021, 5:22 AM
ezhulenev added a reviewer: mehdi_amini.
mehdi_amini accepted this revision.Jan 20 2021, 1:19 PM
This revision is now accepted and ready to land.Jan 20 2021, 1:19 PM
This revision was automatically updated to reflect the committed changes.