Skip to content

Fix for ReadWriteLock#2241

Open
jboshoven-emporia wants to merge 1 commit into
dotnet:masterfrom
jboshoven-emporia:reader-writer-async-lock-fix
Open

Fix for ReadWriteLock#2241
jboshoven-emporia wants to merge 1 commit into
dotnet:masterfrom
jboshoven-emporia:reader-writer-async-lock-fix

Conversation

@jboshoven-emporia
Copy link
Copy Markdown

The original ReaderWriterLock is not capable of spanning an async call. Moved to SemaphoreSlim because it should be pretty lightly contended as it is a per-session and the reader/writer semantics will likely be overkill.

The lock is not capable of spanning an async call. Moved to semaphore because it should be pretty lightly contended as it is a per-session and the reader/writer semantics will likely be overkill.
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