Skip to content

feat: use async-lock for RwLock and Barrier #925

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
Jan 13, 2021
Merged

feat: use async-lock for RwLock and Barrier #925

merged 3 commits into from
Jan 13, 2021

Conversation

Kestrer
Copy link
Contributor

@Kestrer Kestrer commented Dec 27, 2020

We already use async-mutex for async_std::sync::Mutex, so it seems async-std was going in this direction anyway. Using async-lock also gives the advantages of const constructors. I've checked and the API does not change.

@Kestrer
Copy link
Contributor Author

Kestrer commented Dec 27, 2020

CI's failing, but I can't do anything about it because it would be failing on master if it were re-run (as an update to nightly caused it to fail).

@taiki-e
Copy link
Contributor

taiki-e commented Jan 1, 2021

CI failure will be fixed by #927.

Copy link
Member

@dignifiedquire dignifiedquire left a comment

Choose a reason for hiding this comment

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

thank you

@dignifiedquire dignifiedquire changed the title Use async-lock for RwLock and Barrier feat: use async-lock for RwLock and Barrier Jan 13, 2021
@dignifiedquire dignifiedquire merged commit 4a3f963 into async-rs:master Jan 13, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants