Module itron_solid_asp3::task [−][src]
unstable
only.Expand description
Tasks
Structs
An instance of IntoProcessorSet
specifying all processors.
The error type returned by current
when the CPU lock state is active,
or the current thread is not in a task context.
dcre
The builder type for tasks. Created by Task::build
.
Task information returned by TaskRef::info
.
dcre
An owned task.
A borrowed reference to a task.
Enums
Error type for TaskRef::activate
.
Error type for TaskRef::activate_on
.
dcre
Error type for Task::build
.
Error type for TaskRef::cancel_activate_all
.
Error type for TaskRef::cancel_wake_all
.
Error type for current_id
.
Error type for delay
.
dcre
Error type for TaskRef::delete
.
Error type for disable_termination
.
Error type for TaskRef::info
.
Error type for TaskRef::migrate
.
Error type for TaskRef::priority
.
Error type for TaskRef::raise_termination
.
Error type for TaskRef::release_wait
.
Error type for TaskRef::resume
.
Error type for TaskRef::set_base_priority
.
Error type for sleep
.
Error type for sleep_timeout
.
Task state returned by TaskRef::state
.
Error type for TaskRef::state
.
Error type for TaskRef::suspend
.
Error type for TaskRef::terminate
.
Error type for TaskRef::wake
.
Traits
dcre
The trait implemented by types that can be passed to
crate::task::Builder::processor_affinity
. This trait is sealed.
Functions
Get a reference to the current task.
get_tid
: Get the currently running task’s ID.
dly_tsk
: Delay the current task.
dis_ter
: Disable the termination of the current task by
a termination request.
ena_ter
: Re-enable the termination of the current task by
a termination request.
sns_ter
: Determine if the termination by a termination request is
disabled for the current task.
slp_tsk
: Put the current task to sleep.
dly_tsk
: Put the current task to sleep with timeout.
Type Definitions
Error type for enable_termination
.
Task priority value.