diff options
| author | 1-rafael-1 <[email protected]> | 2025-09-15 20:07:18 +0200 |
|---|---|---|
| committer | 1-rafael-1 <[email protected]> | 2025-09-15 20:07:18 +0200 |
| commit | 6bb3d2c0720fa082f27d3cdb70f516058497ec87 (patch) | |
| tree | 5a1e255cff999b00800f203b91a759c720c973e5 /embassy-sync/src/waitqueue/atomic_waker_turbo.rs | |
| parent | eb685574601d98c44faed9a3534d056199b46e20 (diff) | |
| parent | 92a6fd2946f2cbb15359290f68aa360953da2ff7 (diff) | |
Merge branch 'main' into rp2040-rtc-alarm
Diffstat (limited to 'embassy-sync/src/waitqueue/atomic_waker_turbo.rs')
| -rw-r--r-- | embassy-sync/src/waitqueue/atomic_waker_turbo.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-sync/src/waitqueue/atomic_waker_turbo.rs b/embassy-sync/src/waitqueue/atomic_waker_turbo.rs index c06b83056..a45adeab8 100644 --- a/embassy-sync/src/waitqueue/atomic_waker_turbo.rs +++ b/embassy-sync/src/waitqueue/atomic_waker_turbo.rs | |||
| @@ -7,6 +7,7 @@ use core::task::Waker; | |||
| 7 | /// If a waker is registered, registering another waker will replace the previous one without waking it. | 7 | /// If a waker is registered, registering another waker will replace the previous one without waking it. |
| 8 | /// The intended use case is to wake tasks from interrupts. Therefore, it is generally not expected, | 8 | /// The intended use case is to wake tasks from interrupts. Therefore, it is generally not expected, |
| 9 | /// that multiple tasks register try to register a waker simultaneously. | 9 | /// that multiple tasks register try to register a waker simultaneously. |
| 10 | #[derive(Debug)] | ||
| 10 | pub struct AtomicWaker { | 11 | pub struct AtomicWaker { |
| 11 | waker: AtomicPtr<()>, | 12 | waker: AtomicPtr<()>, |
| 12 | } | 13 | } |
