Module itron_fmp3::task [−][src]
unstable
only.Expand description
Tasks
Structs
The error type returned by current
when the CPU lock state is active,
or the current thread is not in a task context.
Task information returned by TaskRef::info
.
A borrowed reference to a task.
Enums
Error type for TaskRef::activate
.
Error type for TaskRef::activate_on
.
Error type for TaskRef::cancel_activate_all
.
Error type for TaskRef::cancel_wake_all
.
Error type for current_id
.
Error type for delay
.
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
.
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.