Document Title Here
Document Title Here
Document Title Here
ACR89U-A1 Application Programming Interface
Version 1.00
Page 68 of 115
info@acs.com.hk
www.acs.com.hk
6.3.3. xTaskGetSchedulerState
This function gets the state of scheduler.
[task.h]
portBASE_TYPE xTaskGetSchedulerState( void );
Returns:
portBASE_TYPE
One of the following constants (defined within task.h):
taskSCHEDULER_NOT_STARTED, taskSCHEDULER_RUNNING,
taskSCHEDULER_SUSPENDED.
6.3.4. uxTaskGetNumberOfTasks
This function gets the number of tasks.
[task.h]
unsigned portBASE_TYPE uxTaskGetNumberOfTasks( void );
Returns:
unsigned portBASE_TYPE
The number of tasks that the real time kernel is currently managing. This includes all
ready, blocked and suspended tasks. A task that has been deleted but not freed by the
idle task will also be included in the count.
Comments to this Manuals