Skip to content

use serial queue to order repository lookups #7076

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Nov 10, 2023

motivation: lookup callback could race and lead to broken resolution. the actual lookup code assume no-cocurrent access but get called on a concurrent queue which could lead to races

changes:

  • change the repository lookup callback queue to a serial one

rdar://118239206

motivation: lookup callback could race and lead to broken resolution. the actual lookup code assume no-cocurrent access but get called on a concurrent queue which could lead to races

changes:
* change the repository lookup callback queue to a serial one

rdar://118239206
@tomerd
Copy link
Contributor Author

tomerd commented Nov 10, 2023

@swift-ci test

@tomerd tomerd enabled auto-merge (squash) November 11, 2023 01:13
@tomerd tomerd self-assigned this Nov 13, 2023
@MaxDesiatov MaxDesiatov added source control Changes to SCM-related code bug concurrency labels Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug concurrency source control Changes to SCM-related code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants