[][src]Function r3_port_std::lock_scheduler

pub fn lock_scheduler<System: PortInstance>() -> impl Sized

Temporarily lock the scheduler, disabling preemption.

All operating system and port functions will be unavailable until the lock is relinquished.