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

Loosen ordering #52

Closed
wants to merge 1 commit into from
Closed

Conversation

terrarier2111
Copy link
Contributor

Use a looser ordering for swapping out an empty bucket (null ptr) for a full bucket (non-null ptr). We don't need an Acquire ordering in the success case as we don't need to establish a happens-before relationship with the write of the null ptr. We need to retain the Acquire ordering in the failure case tho as we do need to establish a happens-before relationship with the write to the allocation to which the current value of the bucket ptr points to.

@terrarier2111
Copy link
Contributor Author

Okay, nvm, this doesn't seem to be allowed

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