We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21b753c commit 94c5249Copy full SHA for 94c5249
freertos-rust/src/mutex.rs
@@ -6,9 +6,9 @@ use crate::units::*;
6
pub type Mutex<T> = MutexImpl<T, MutexNormal>;
7
pub type RecursiveMutex<T> = MutexImpl<T, MutexRecursive>;
8
9
-unsafe impl<T: Sync + Send, M> Send for MutexImpl<T, M> {}
+unsafe impl<T: Send, M> Send for MutexImpl<T, M> {}
10
11
-unsafe impl<T: Sync + Send, M> Sync for MutexImpl<T, M> {}
+unsafe impl<T: Send, M> Sync for MutexImpl<T, M> {}
12
13
/// Mutual exclusion access to a contained value. Can be recursive -
14
/// the current owner of a lock can re-lock it.
0 commit comments