pub enum RealtimeThreadSchedulePolicy {
Fifo,
RoundRobin,
Deadline,
}
Expand description
The following “real-time” policies are also supported, for special time-critical applications that need precise control over the way in which runnable processes are selected for execution
Variants
Fifo
A first-in, first-out policy
RoundRobin
A round-robin policy
Deadline
A deadline policy. Note, due to Linux expecting a pid_t and not a pthread_t, the given ThreadId will be interpreted as a pid_t. This policy is NOT POSIX-compatible, so we only include it for linux targets.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl Send for RealtimeThreadSchedulePolicy
impl Sync for RealtimeThreadSchedulePolicy
impl Unpin for RealtimeThreadSchedulePolicy
impl UnwindSafe for RealtimeThreadSchedulePolicy
Blanket Implementations
Mutably borrows from an owned value. Read more