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

Add more OS-independent synchronization abstractions and utilities #170

Merged
merged 13 commits into from
Jul 11, 2024

Conversation

nspin
Copy link
Member

@nspin nspin commented Jul 11, 2024

The new sel4-abstract-rc crate abstracts over Rc and Arc. Rc is faster but not thread safe. This abstraction allows upstream code to defer that tradeoff to downstream consumers.

The sel4-sync-trivial crate now contains PanickingRawMutex and the new faster but non-thread-safe UnsyncPanickingRawMutex.

This PR also prunes the sel4-sync crate, removing unused or redundant items.

@nspin nspin merged commit 578bdbf into seL4:main Jul 11, 2024
9 checks passed
@nspin nspin deleted the pr/sync-abstractions branch July 11, 2024 23:47
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