Skip to content

[DO NOT MERGE] Valgrind testing #479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Conversation

jakepetroules
Copy link
Collaborator

No description provided.

@jakepetroules jakepetroules force-pushed the eng/PR-valgrind-testing branch 11 times, most recently from 054ce2d to 52f5310 Compare May 3, 2025 06:14
This just removes a bunch of calls that can trivially become async.
These just need simple synchronization; use a mutex instead.

This also plugs a couple occurrences of unsynchronized access.
Stress testing this approach over use of a long-lived DispatchIO channel appears to resolve the nondeterministic failures with the file descriptor being destroyed, and is easier to reason about.

Closes #21
@jakepetroules jakepetroules force-pushed the eng/PR-valgrind-testing branch 2 times, most recently from c42b6d8 to d9bc4d1 Compare May 6, 2025 04:54
@jakepetroules jakepetroules force-pushed the eng/PR-valgrind-testing branch from d9bc4d1 to fed524e Compare May 6, 2025 05:58
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