Skip to content

refactor: remove iterator based locking read/write#58

Merged
OliverNChalk merged 1 commit intomainfrom
refactor/remove-dangerous-locks
Mar 12, 2026
Merged

refactor: remove iterator based locking read/write#58
OliverNChalk merged 1 commit intomainfrom
refactor/remove-dangerous-locks

Conversation

@OliverNChalk
Copy link
Contributor

Problem

  • The queue is locked for the duration the iterator is held. This can be quite surprising especially if the reader saves the iterator (or if the writer makes blocking calls to yield the next item).

Solution

  • Remove this API surface for now.

@OliverNChalk OliverNChalk merged commit 9efc0d7 into main Mar 12, 2026
2 checks passed
@OliverNChalk OliverNChalk deleted the refactor/remove-dangerous-locks branch March 12, 2026 16:38
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.

2 participants