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

feat: Support blocking and non-blocking operations on the same locks #39

Closed
wants to merge 2 commits into from

Conversation

notgull
Copy link
Member

@notgull notgull commented Mar 2, 2023

This PR adds support for blocking and non-blocking operations on the same mutex. It uses a similar strategy to smol-rs/async-channel#47, where a Strategy is used to determine whether a lock should be polled or blocked on.

Inteded to supersede #25

src/barrier.rs Outdated Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
@notgull
Copy link
Member Author

notgull commented Sep 13, 2023

Now superseded by #43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants