Skip to content
This repository was archived by the owner on Aug 9, 2022. It is now read-only.

Use standardized mutex #30

Closed
arjanmels opened this issue Jun 7, 2020 · 2 comments
Closed

Use standardized mutex #30

arjanmels opened this issue Jun 7, 2020 · 2 comments

Comments

@arjanmels
Copy link
Contributor

We should use standardized Mutex. Currently combination if interrupt free section and spinlock is used.

I think we should align to: https://github.com/rust-embedded/wg/blob/master/rfcs/0377-mutex-trait.md (for tracking: rust-embedded/wg#395). However it seems that it is not fully crystallized yet. (The syntax that requires to take a mutex reference to lock, is a bit weird.)

@arjanmels
Copy link
Contributor Author

As discussed in #31 we will follow the developments in rust-embedded on this. After #31 is merged this issue can be closed.

@arjanmels
Copy link
Contributor Author

#31 is merged

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

No branches or pull requests

1 participant