Closed arjanmels closed 4 years ago
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: https://github.com/rust-embedded/wg/issues/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.)
As discussed in #31 we will follow the developments in rust-embedded on this. After #31 is merged this issue can be closed.
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: https://github.com/rust-embedded/wg/issues/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.)