Update tasks.c comment

This commit is contained in:
chinglee-iot 2024-01-19 16:58:47 +08:00 committed by GitHub
parent def1fa6f7c
commit f52cfc91ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2301,8 +2301,8 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
#else /* #if ( configNUMBER_OF_CORES == 1 ) */
{
/* Rescheduling a running task is handled differently if it is running
* on other cores. Checking a task running core needs to be performed
* in critical section. */
* on core other than current core. Checking a task running core needs
* to be performed in critical section. */
taskENTER_CRITICAL();
{
if( taskTASK_IS_RUNNING( pxTCB ) == pdTRUE )