void OSSchedUnlock(OS_ERR *p_err);
...
File
...
Called from
...
Code enabled by
...
os_core.c
...
Task only
...
Description
OSSchedUnlock()
re re-enables task scheduling whenever it is paired with with OSSchedLock()
.
Files
os.h/os_core.c
Prototype
Arguments
p_err
is a pointer to a variable that will contain an error code returned by this function.
...
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()
.
...
If OS_CFG_CALLED_FROM_ISR_CHK_EN
set to 1
in DEF_ENABLED
in os_cfg.h
: if you attempted to unlock scheduler from an ISR.
Returned Value
None
Required Configuration
None
Callers
Application.
Notes/Warnings
None