Skip to content

Fix buffer_ race condition#127

Open
PeterTh wants to merge 1 commit into
mohabouje:masterfrom
ph3at:fix-buffer-race
Open

Fix buffer_ race condition#127
PeterTh wants to merge 1 commit into
mohabouje:masterfrom
ph3at:fix-buffer-race

Conversation

@PeterTh
Copy link
Copy Markdown

@PeterTh PeterTh commented May 3, 2026

Resolves #124

Note that, although suggested in the issue, the 2 bools are not marked atomic, since (i) multithreaded accesses are now mutex-protected now anyway, and (ii) making them atomic makes NotifyData not default-copyable, requiring further changes/complexity.

Resolves mohabouje#124

Bools are not marked atomic, since multithreaded accesses are
mutex-protected now anyway, and making them atomic makes NotifyData
not default-copyable, requiring further changes/complexity.
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.

Thread Safety Issue in markAsReadyForDeletion - Race Condition Causes Crash

1 participant