Module itron_solid_asp3::task[][src]

This is supported on crate feature 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.

The builder type for tasks. Created by Task::build.

Represents a reference to the current task. Returned by current.

Task information returned by TaskRef::info.

Taskdcre

An owned task.

A borrowed reference to a task.

Enums

Error type for Task::build.

Error type for current_id.

Error type for delay.

Error type for TaskRef::delete.

Error type for exit.

Error type for TaskRef::info.

Error type for sleep.

Task state returned by TaskRef::state.

Error type for TaskRef::state.

Error type for TaskRef::wake.

Traits

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.

ext_tsk: Terminate the current task.

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

Task priority value.