Skip to content

tests: yield in the write lock test start barrier - #1145

Merged
EmmanuelP merged 1 commit into
mainfrom
issue/fake-write-lock-test-valgrind
Dec 1, 2026
Merged

EmmanuelP merged 1 commit into
mainfrom
issue/fake-write-lock-test-valgrind

Conversation

@EmmanuelP

Copy link
Copy Markdown
Contributor

The busy wait loop made the test very slow under valgrind, which runs one thread at a time: the spinning thread kept running until the end of its time slice before the other threads could reach the barrier.

The busy wait loop made the test very slow under valgrind, which runs
one thread at a time: the spinning thread kept running until the end of
its time slice before the other threads could reach the barrier.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@EmmanuelP
EmmanuelP merged commit ee600a9 into main Dec 1, 2026
5 checks passed
@EmmanuelP
EmmanuelP deleted the issue/fake-write-lock-test-valgrind branch December 1, 2026 20:51
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