Skip to content

lwt_unix_stubs.c: fix races reported by TSan - #1094

Merged
raphael-proust merged 1 commit into
masterfrom
fix-datarace-1026
Jan 16, 2026
Merged

raphael-proust merged 1 commit into
masterfrom
fix-datarace-1026

Conversation

@raphael-proust

Copy link
Copy Markdown
Collaborator

hopes to fix #1026

h/t @OlivierNicole for running tsan and reporting the issue

fixes #1026

h/t Olivier Nicole for running tsan and reporting the issue
@OlivierNicole

Copy link
Copy Markdown

From a distance, it seems to me like it should solve the data races I reported.

Unfortunately, I did not write down how to reproduce these reports at the time, so I’m afraid I can’t check that the TSan reports are gone. But given the extra mutex locks they should be.

@raphael-proust

Copy link
Copy Markdown
Collaborator Author

thanks for having a look :)

@raphael-proust
raphael-proust merged commit 4714cea into master Jan 16, 2026
15 of 18 checks passed
@dra27 dra27 mentioned this pull request Apr 9, 2026
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.

Data race in lwt_unix_start_job

2 participants