We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffe4be8 commit e380520Copy full SHA for e380520
std/src/sys/itron/condvar.rs
@@ -192,7 +192,7 @@ mod waiter_queue {
192
let insert_after = {
193
let mut cursor = head.last;
194
loop {
195
- if waiter.priority <= cursor.as_ref().priority {
+ if waiter.priority >= cursor.as_ref().priority {
196
// `cursor` and all previous waiters have the same or higher
197
// priority than `current_task_priority`. Insert the new
198
// waiter right after `cursor`.
0 commit comments