Rename CPU to Core (#849)
This commit renames "CPU" to "Core" for any public facing API for consistency with other SMP related APIs (e.g., "configNUMBER_OF_CORES"). Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit is contained in:
@ -2120,12 +2120,12 @@
|
||||
#define traceRETURN_xTaskGetCurrentTaskHandle( xReturn )
|
||||
#endif
|
||||
|
||||
#ifndef traceENTER_xTaskGetCurrentTaskHandleCPU
|
||||
#define traceENTER_xTaskGetCurrentTaskHandleCPU( xCoreID )
|
||||
#ifndef traceENTER_xTaskGetCurrentTaskHandleForCore
|
||||
#define traceENTER_xTaskGetCurrentTaskHandleForCore( xCoreID )
|
||||
#endif
|
||||
|
||||
#ifndef traceRETURN_xTaskGetCurrentTaskHandleCPU
|
||||
#define traceRETURN_xTaskGetCurrentTaskHandleCPU( xReturn )
|
||||
#ifndef traceRETURN_xTaskGetCurrentTaskHandleForCore
|
||||
#define traceRETURN_xTaskGetCurrentTaskHandleForCore( xReturn )
|
||||
#endif
|
||||
|
||||
#ifndef traceENTER_xTaskGetSchedulerState
|
||||
|
@ -3539,7 +3539,7 @@ TaskHandle_t xTaskGetCurrentTaskHandle( void ) PRIVILEGED_FUNCTION;
|
||||
/*
|
||||
* Return the handle of the task running on specified core.
|
||||
*/
|
||||
TaskHandle_t xTaskGetCurrentTaskHandleCPU( BaseType_t xCoreID ) PRIVILEGED_FUNCTION;
|
||||
TaskHandle_t xTaskGetCurrentTaskHandleForCore( BaseType_t xCoreID ) PRIVILEGED_FUNCTION;
|
||||
|
||||
/*
|
||||
* Shortcut used by the queue implementation to prevent unnecessary call to
|
||||
|
Reference in New Issue
Block a user