...
the call is successful and the scheduler is no longer locked.
OS_ERR_OS_NOT_RUNNING
if calling this function before calling OSStart()
.
OS_ERR_SCHED_LOCKED
if the scheduler is still locked. This would indicate that scheduler lock has not fully unnested
OS_ERR_SCHED_NOT_LOCKED
if the user did not call OSSchedLock()
.
OS_ERR_SCHED_UNLOCK_ISR
if OS_CFG_CALLED_FROM_ISR_CHK_EN
set to 1
in os_cfg.h
: if you attempted to unlock scheduler from an ISR.
Returned Value
None
Notes/Warnings
...