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

Implement try_lock_weak for use in lock loop #4

Merged
merged 1 commit into from Jul 6, 2020
Merged

Implement try_lock_weak for use in lock loop #4

merged 1 commit into from Jul 6, 2020

Conversation

ghost
Copy link

@ghost ghost commented Jul 4, 2020

Allows use of compare_exchange_weak, which may fail spuriously but can be more efficient on certain platforms.

Allows use of `compare_exchange_weak`, which may fail spuriously but can
be more efficient on certain platforms.
Copy link
Member

@phil-opp phil-opp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

@phil-opp phil-opp merged commit 3e6e19c into rust-osdev:master Jul 6, 2020
phil-opp added a commit that referenced this pull request Jul 6, 2020
@phil-opp
Copy link
Member

phil-opp commented Jul 6, 2020

Published as v0.1.1

@ghost ghost deleted the try_lock_weak branch July 7, 2020 02:04
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.

1 participant