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

Adds support for threading lock in .NET 9 and C# 13 #319

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

Conversation

michaelstonis
Copy link
Contributor

Adds support using System.Threading.Lock on platforms that support .NET 9 and C# 13. For older platforms that do not support the Lock object, I have integrated a polyfill of the lock object.

All unit tests continue to pass.

- Replaced `object` locks with a new `Lock` implementation across multiple classes.
- Updated C# language version from 12 to 13 in several project files.
- Added a new file for the `Lock` polyfill to ensure compatibility.
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.

1 participant