Skip to content
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

Improve test robustness on OCaml 4 #110

Merged
merged 1 commit into from
Jul 24, 2023
Merged

Conversation

polytypic
Copy link
Contributor

@polytypic polytypic commented Jul 23, 2023

Some of the tests seem to hang on 32-bit OCaml 4. It would seem that the problem is that on 32-bit OCaml 4 safepoints might not be added to all loops. As a workaround this PR adds additional Domain.cpu_relax () calls which actually translate to calling Thread.yield () on OCaml 4.

@polytypic polytypic force-pushed the improve-test-robustuness branch 10 times, most recently from ffd6ad8 to d3386d9 Compare July 24, 2023 14:05
@polytypic polytypic marked this pull request as ready for review July 24, 2023 15:07
@polytypic polytypic merged commit 61b15cc into main Jul 24, 2023
1 of 3 checks passed
@polytypic polytypic deleted the improve-test-robustuness branch July 24, 2023 18:37
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.

None yet

1 participant