mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 05:34:59 -05:00
Minor comment update
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
a31a9a7a7e
commit
6be9ad0c0e
1 changed files with 2 additions and 2 deletions
4
tasks.c
4
tasks.c
|
|
@ -2300,8 +2300,8 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
|
|||
}
|
||||
#else /* #if ( configNUMBER_OF_CORES == 1 ) */
|
||||
{
|
||||
/* Checking running state of a task needs to be performed in
|
||||
* critical section. */
|
||||
/* It is important to use critical section here because checking
|
||||
* run state of a task must be done inside a critical section. */
|
||||
taskENTER_CRITICAL();
|
||||
{
|
||||
if( taskTASK_IS_RUNNING( pxTCB ) == pdTRUE )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue