diff options
| author | James Munns <[email protected]> | 2025-04-02 23:30:40 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2025-09-11 14:45:06 +0200 |
| commit | 08a57b1cb0c3c4a40bd03e6e6ea1c97777300cf4 (patch) | |
| tree | 5f3da71e199af3a15c8e99878a25580b781c2dbe /embassy-executor/src/raw/run_queue_atomics.rs | |
| parent | 2a068c528383b3ddc1213b9a5da5445498962bd2 (diff) | |
Update with changes from the PR
Diffstat (limited to 'embassy-executor/src/raw/run_queue_atomics.rs')
| -rw-r--r-- | embassy-executor/src/raw/run_queue_atomics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/src/raw/run_queue_atomics.rs b/embassy-executor/src/raw/run_queue_atomics.rs index a63f0d116..08765e06b 100644 --- a/embassy-executor/src/raw/run_queue_atomics.rs +++ b/embassy-executor/src/raw/run_queue_atomics.rs | |||
| @@ -102,7 +102,7 @@ impl RunQueue { | |||
| 102 | // only allows access to this value while the given task is being polled. | 102 | // only allows access to this value while the given task is being polled. |
| 103 | // This acts as mutual exclusion for access. | 103 | // This acts as mutual exclusion for access. |
| 104 | let mut sorted = | 104 | let mut sorted = |
| 105 | SortedList::<TaskHeader>::new_custom(|lhs, rhs| unsafe { lhs.deadline.get().cmp(&rhs.deadline.get()) }); | 105 | SortedList::<TaskHeader>::new_with_cmp(|lhs, rhs| unsafe { lhs.deadline.get().cmp(&rhs.deadline.get()) }); |
| 106 | 106 | ||
| 107 | loop { | 107 | loop { |
| 108 | // For each loop, grab any newly pended items | 108 | // For each loop, grab any newly pended items |
