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

Use atomic reads and writes for available and used ring. #128

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

qwandor
Copy link
Collaborator

@qwandor qwandor commented Apr 22, 2024

This is necessary to correctly synchronise with the host. The previous fences were not correct.

Fixes #125.

This is necessary to correctly synchronise with the host. The previous
fences were not correct.
@fslongjin
Copy link
Contributor

It run wells in both examples/riscv and my test case.

@qwandor qwandor merged commit a609ad8 into master Apr 23, 2024
6 checks passed
@qwandor qwandor deleted the atomics branch April 23, 2024 09:44
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.

The examples/riscv has a stuck bug
2 participants