Struct pulse::ThreadScheduler [] [src]

pub struct ThreadScheduler;

This is the default system scheduler that is used if no user provided scheduler is installed. It is very basic and will block the OS thread using thread::park

Trait Implementations

impl Debug for ThreadScheduler
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Scheduler for ThreadScheduler
[src]

fn wait(&self, signal: Signal) -> Result<()WaitError>

Wait until the signal is made ready or errored

fn wait_timeout_ms(&self, signal: Signal, ms: u32) -> Result<()TimeoutError>

Wait until the signal is made ready or errored or the timeout has been reached. Read more