Skip to content

Conversation

@bugadani
Copy link

Trying to implement the idea from last week's discussions, here is a once-writeable static cell that only provides shared access. A use case might be sharing an appropriate driver with an interrupt handler as SharedStaticCell<Mutex<T>> instead of Mutex<RefCell<Option<T>>>, or to store some immutable configuration loaded from some external source, like device info. Far fetched? Maybe :)

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