Skip to content

Fix race condition & improves allocations and performance through semaphore pooling#14

Open
MarkCiliaVincenti wants to merge 2 commits into
fightroad:masterfrom
MarkCiliaVincenti:AsyncKeyedLock
Open

Fix race condition & improves allocations and performance through semaphore pooling#14
MarkCiliaVincenti wants to merge 2 commits into
fightroad:masterfrom
MarkCiliaVincenti:AsyncKeyedLock

Conversation

@MarkCiliaVincenti
Copy link
Copy Markdown

Currently the _fileLocks is being cleaned while another thread could be waiting on that key, resulting in the latter thread to run without a lock.

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