aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync/src/blocking_rwlock/mod.rs
diff options
context:
space:
mode:
authorAlix ANNERAUD <[email protected]>2025-02-28 16:32:12 +0100
committerAlix ANNERAUD <[email protected]>2025-02-28 16:32:12 +0100
commit33cf27adf646bacd758b7289ebbf460b24c26fa5 (patch)
treee9a82c6e171c42b067e13dee47a80cbed59ec368 /embassy-sync/src/blocking_rwlock/mod.rs
parenta7ecf14259591ff5b324ec1c7d7c521fabebe7d3 (diff)
Refactor blocking read-write lock module structure and improve assertions in ThreadModeRawRwLock
Diffstat (limited to 'embassy-sync/src/blocking_rwlock/mod.rs')
-rw-r--r--embassy-sync/src/blocking_rwlock/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/embassy-sync/src/blocking_rwlock/mod.rs b/embassy-sync/src/blocking_rwlock/mod.rs
index a304b77d6..a8fb7d6bc 100644
--- a/embassy-sync/src/blocking_rwlock/mod.rs
+++ b/embassy-sync/src/blocking_rwlock/mod.rs
@@ -1,11 +1,11 @@
1//! Blocking read-write lock. 1//! Blocking read-write lock.
2//! 2//!
3//! This module provides a blocking read-write lock that can be used to synchronize data. 3//! This module provides a blocking read-write lock that can be used to synchronize data.
4pub mod raw_rwlock; 4pub mod raw;
5 5
6use core::cell::UnsafeCell; 6use core::cell::UnsafeCell;
7 7
8use self::raw_rwlock::RawRwLock; 8use self::raw::RawRwLock;
9 9
10/// Blocking read-write lock (not async) 10/// Blocking read-write lock (not async)
11/// 11///
@@ -218,4 +218,4 @@ mod thread_mode_rwlock {
218 // Drop of the inner `T` happens after this. 218 // Drop of the inner `T` happens after this.
219 } 219 }
220 } 220 }
221} \ No newline at end of file 221}