Clean up the implementation of scheduling class

This commit is contained in:
Zejun Zhao
2025-01-22 11:48:10 +08:00
committed by Tate, Hongliang Tian
parent 3f951e0c0c
commit c2f48a41db
7 changed files with 47 additions and 36 deletions

View File

@ -1,9 +1,9 @@
// SPDX-License-Identifier: MPL-2.0
use alloc::{collections::binary_heap::BinaryHeap, sync::Arc};
use alloc::{collections::BinaryHeap, sync::Arc};
use core::{
cmp::{self, Reverse},
sync::atomic::{AtomicU64, Ordering::*},
sync::atomic::{AtomicU64, Ordering::Relaxed},
};
use ostd::{