Skip to content

memdebug: add mutex for thread safety#19785

Closed
icing wants to merge 1 commit into
curl:masterfrom
icing:memdebug-mutex
Closed

memdebug: add mutex for thread safety#19785
icing wants to merge 1 commit into
curl:masterfrom
icing:memdebug-mutex

Conversation

@icing

@icing icing commented Dec 1, 2025

Copy link
Copy Markdown
Contributor

Protect modification to the membuf by different threads via a mutex. This ensure that index updates are correct and that data gets written in order.

Protect modification to the `membuf` by different threads
via a mutex. This ensure that index updates are correct and
that data gets written in order.
@icing icing requested a review from bagder December 1, 2025 12:41

@bagder bagder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@bagder bagder closed this in a7bebd8 Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants