Module vex_rt::rtos [−][src]
Expand description
Multitasking primitives.
Structs
Broadcast | Represents a source of data which notifies listeners on a new value. |
BroadcastListener | Provides a means of listening to updates from a |
Context | Represents an ongoing operation which could be cancelled in the future. Inspired by contexts in the Go programming language. |
ContextWrapper | Provides a wrapper for |
Event | Represents a self-maintaining set of tasks to notify when an event occurs. |
EventHandle | Represents a handle into the listing of the current task in an |
Instant | Represents a time on a monotonically increasing clock (i.e., time since program start). |
Loop | Provides a constant-period looping construct. |
Mutex | Represents an object which is protected by a FreeRTOS recursive mutex. |
MutexGuard | Provides exclusive access to an object controlled by a |
Promise | Represents an ongoing operation which produces a result. |
ReceiveChannel | Represents the receive end of a rendez-vous channel. |
ReceiveQueue | Represents the receive end of a message-passing queue. |
Semaphore | Represents a FreeRTOS counting semaphore. |
SendChannel | Represents the sending end of a rendez-vous channel. |
SendQueue | Represents the sending end of a message-passing queue. |
Task | Represents a FreeRTOS task. |
Enums
GenericSleep | Represents a future time to sleep until. |
TaskState | Represents the state of a |
Traits
Selectable | Represents a future event which can be used with the |
Functions
channel | Creates a new send-receive pair together representing a rendez-vous channel.
Panics on failure; see |
delay | Creates a new |
delay_until | Creates a new |
handle_event | Adds the current task to the notification set for an |
queue | Creates a new send-receive pair together representing a message-passing
queue, based on the given underlying queue structure. Panics on failure; see
|
select | Awaits a |
select_either | Creates a new |
select_map | Creates a new |
time_since_start | Gets the current timestamp (i.e., the time which has passed since program start). |
try_channel | Creates a new send-receive pair together representing a rendez-vous channel. |
try_queue | Creates a new send-receive pair together representing a message-passing queue, based on the given underlying queue structure. |
Type Definitions
QueuePair | The send/receive pair type returned by |