There was an error while loading. Please reload this page.
1 parent c1ea603 commit 272d06dCopy full SHA for 272d06d
1 file changed
kernel/src/util/mutex/mod.rs
@@ -81,6 +81,9 @@ impl<T> Mutex<T> {
81
}
82
83
84
+unsafe impl<T: ?Sized + Send> Send for Mutex<T> {}
85
+unsafe impl<T: ?Sized + Send> Sync for Mutex<T> {}
86
+
87
impl<T: ?Sized> Mutex<T> {
88
pub fn lock(&self) -> MutexGuard<'_, T> {
89
if self
0 commit comments