aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync/src/waitqueue/atomic_waker.rs
diff options
context:
space:
mode:
authorxoviat <[email protected]>2025-11-24 21:28:58 -0600
committerxoviat <[email protected]>2025-11-24 21:28:58 -0600
commitee14305d152273254571d2a5a8192fad26f3ab73 (patch)
tree80ee08b08ddb82fe712da50b0a0859d4ded6b9b9 /embassy-sync/src/waitqueue/atomic_waker.rs
parent461681028681930e50f41ee00154ac3e1886ebca (diff)
parent5ffb3698541674d57fddb22044ac0f06397c6113 (diff)
Merge branch 'main' of https://github.com/embassy-rs/embassy into xspi
Diffstat (limited to 'embassy-sync/src/waitqueue/atomic_waker.rs')
-rw-r--r--embassy-sync/src/waitqueue/atomic_waker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-sync/src/waitqueue/atomic_waker.rs b/embassy-sync/src/waitqueue/atomic_waker.rs
index 5a9910e7f..d2bf890e5 100644
--- a/embassy-sync/src/waitqueue/atomic_waker.rs
+++ b/embassy-sync/src/waitqueue/atomic_waker.rs
@@ -1,8 +1,8 @@
1use core::cell::Cell; 1use core::cell::Cell;
2use core::task::Waker; 2use core::task::Waker;
3 3
4use crate::blocking_mutex::raw::{CriticalSectionRawMutex, RawMutex};
5use crate::blocking_mutex::Mutex; 4use crate::blocking_mutex::Mutex;
5use crate::blocking_mutex::raw::{CriticalSectionRawMutex, RawMutex};
6 6
7/// Utility struct to register and wake a waker. 7/// Utility struct to register and wake a waker.
8/// If a waker is registered, registering another waker will replace the previous one without waking it. 8/// If a waker is registered, registering another waker will replace the previous one without waking it.