Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mutex to injection reolution #4206

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Add mutex to injection reolution #4206

wants to merge 2 commits into from

Conversation

yuhan6665
Copy link
Member

  • Turns out we already support async DI resolution regardless of feature ordering
    Previous code contain a race condition causing some resolution is lost
  • Note that the new mutex cover s.pendingResolutions and s.features
    but must not cover callbackResolution() due to deadlock
  • Refactor some method names and simplify code

- Turns out we already support async DI resolution regardless of feature ordering
Previous code contain a race condition causing some resolution is lost
- Note that the new mutex cover s.pendingResolutions and s.features
but must not cover callbackResolution() due to deadlock
- Refactor some method names and simplify code
@yuhan6665 yuhan6665 marked this pull request as draft December 24, 2024 05:08
@RPRX
Copy link
Member

RPRX commented Dec 24, 2024

可以 gkd 赶上这两天再发一版吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants