7 #ifndef ZPP_INCLUDE_ZPP_SCHED_HPP
8 #define ZPP_INCLUDE_ZPP_SCHED_HPP
10 #include <zephyr/kernel.h>
11 #include <zephyr/sys/__assert.h>
Guard to automatically lock/unlock scheduler.
sched_lock_guard & operator=(const sched_lock_guard &)=delete
sched_lock_guard() noexcept
Default constructor that calls scheck_lock()
sched_lock_guard(sched_lock_guard &&) noexcept=delete
~sched_lock_guard()
Destructor that calls sched_unlock()
sched_lock_guard(const sched_lock_guard &)=delete
void sched_unlock() noexcept
Unlock the scheduler.
void sched_lock() noexcept
Lock the scheduler.