Skip to content

coro: add thread-safe mutex and rwlock primitives #69

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

Merged
merged 2 commits into from
Jan 28, 2025
Merged

Conversation

Cloudef
Copy link
Owner

@Cloudef Cloudef commented Jan 28, 2025

Replaces #68

I cleaned up the PR, and fixed the RwLock implementation.
Thanks for the initial code and tests @YiraSan

These thread safe primitives can be used between different schedulers
and threads. When the primitive is blocking, it will allow other tasks
to run on the same thread.
@Cloudef Cloudef merged commit a5c2324 into master Jan 28, 2025
5 checks passed
@Cloudef Cloudef deleted the yira-primitives branch January 28, 2025 22:01
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