Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: thread reference in LoadingValueReference to detect recursi…
…on (#6845) - replaces the previous synchronized implementation to make it work gracefully with VirtualThreads - remember the thread that created a LoadingValueReference to later determine whether the "loader" is the same thread as the waiting thread, and we are therefore inside a deadlock
- Loading branch information
Christian Ortlepp
authored and
Christian Ortlepp
committed
Nov 29, 2023
1 parent
e80103f
commit 498baf1
Showing
2 changed files
with
17 additions
and
9 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