-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
coro::SharedPromise move deadlock avoidance
Summary: tsan reports a lock order inversion when using the swap algorithm as the move-construct/assign has nested locks which are naturally acquired in the opposite order by swap. Reviewed By: ispeters Differential Revision: D70357682 fbshipit-source-id: dd1bbe6b60fc01b4819ef1eca59e044363093fbe
- Loading branch information
1 parent
9ecb9c2
commit 8e8186f
Showing
3 changed files
with
52 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters