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

refactor: reimplement barrier cell on OnceLock #2347

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

KGrewal1
Copy link
Contributor

As OnceLock is now in std, reimplement BarrierCell with the OnceLock primitive (simplifying the unsafe code to one instance, and making it easier to maintain)

@KGrewal1 KGrewal1 changed the title draft: reimplement barrier cell on OnceLock refactor: reimplement barrier cell on OnceLock Oct 23, 2024
@baszalmstra
Copy link
Contributor

Thanks this looks great! :)

@baszalmstra baszalmstra merged commit 5bb65ce into prefix-dev:main Oct 25, 2024
39 of 41 checks passed
@KGrewal1 KGrewal1 deleted the barrier-cell branch October 25, 2024 09:45
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.

2 participants