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 24, 2023
1 parent
c80fb95
commit 3171d45
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