Skip to content

Conversation

@DaMatrix
Copy link
Member

@DaMatrix DaMatrix commented Nov 6, 2022

reads will now never* block, even with concurrent writes. writes will only block while waiting for the previous group of reads to complete, or while waiting for a previous write to complete.

i'd like some code review on this one, i've double-checked this more times than i care to count and i haven't encountered any issues in testing, but i'd still like a second opinion before this is merged.

*reads will block if there is a concurrent write doing writeSpecial, however this is completely irrelevant as writeSpecial is never actually used.

reads will never* block, even with concurrent writes. writes will only block while waiting for the previous group of reads to complete, or while waiting for a previous write to complete.

*reads will block if there is a concurrent write doing writeSpecial, however this is completely irrelevant as writeSpecial is never actually used.
@DaMatrix DaMatrix requested a review from Niko-sk2x November 6, 2022 16:31
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