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

Leverage new Lock types #3689

Open
jamescrosswell opened this issue Oct 16, 2024 · 0 comments
Open

Leverage new Lock types #3689

jamescrosswell opened this issue Oct 16, 2024 · 0 comments
Labels
Good First Issue Good for newcomers

Comments

@jamescrosswell
Copy link
Collaborator

C# 13 includes a new Lock type intended to be used with the lock keyword.

Using Lock types as lock objects, the compiler can perform some optimisations that aren't possible when using standard object lock objects. It's a small thing, but we should probably replace the lock objects in our SDK to enable these optimisations.

@jamescrosswell jamescrosswell added the Good First Issue Good for newcomers label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First Issue Good for newcomers
Projects
Status: No status
Development

No branches or pull requests

1 participant