osKernelRunning() function
Check if the RTOS kernel is already started
Syntax
int32_t osKernelRunning(void);
Return value
(0) RTOS is not started (1) RTOS is started (-1) if this feature is disabled in FreeRTOSConfig.h
Notes
MUST REMAIN UNCHANGED: \b osKernelRunning shall be consistent in every CMSIS-RTOS.
Examples
osKernelRunning() is referenced by 4 libraries and example projects: