mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 20:03:22 +00:00
Fix all spelling mistakes in history by typos tool
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
b29d3b5409
commit
86f09eef75
@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//! This module maintains preemption-related information for the curren task
|
||||
//! This module maintains preemption-related information for the current task
|
||||
//! on a CPU with a single 32-bit, CPU-local integer value.
|
||||
//!
|
||||
//! * Bits from 0 to 30 represents an unsigned counter called `guard_count`,
|
||||
|
@ -150,7 +150,7 @@ pub(crate) fn unpark_target(runnable: Arc<Task>) {
|
||||
|
||||
/// Enqueues a newly built task.
|
||||
///
|
||||
/// Note that the new task is not guranteed to run at once.
|
||||
/// Note that the new task is not guaranteed to run at once.
|
||||
pub(super) fn run_new_task(runnable: Arc<Task>) {
|
||||
// FIXME: remove this check for `SCHEDULER`.
|
||||
// Currently OSTD cannot know whether its user has injected a scheduler.
|
||||
|
Reference in New Issue
Block a user