mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 11:53:24 +00:00
Refactor preemption-related code in OSTD
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
f5464e82c0
commit
2ab4ba11bc
6
ostd/src/task/preempt/mod.rs
Normal file
6
ostd/src/task/preempt/mod.rs
Normal file
@ -0,0 +1,6 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
pub(super) mod cpu_local;
|
||||
mod guard;
|
||||
|
||||
pub use self::guard::{disable_preempt, DisablePreemptGuard};
|
Reference in New Issue
Block a user