mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Comment: xTaskResumeAll: comment: doesn't match the code (#281)
This commit is contained in:
parent
95433d0284
commit
1059b35838
4
tasks.c
4
tasks.c
|
@ -2238,8 +2238,8 @@ BaseType_t xTaskResumeAll( void )
|
|||
( void ) uxListRemove( &( pxTCB->xStateListItem ) );
|
||||
prvAddTaskToReadyList( pxTCB );
|
||||
|
||||
/* If the moved task has a priority higher than the current
|
||||
* task then a yield must be performed. */
|
||||
/* If the moved task has a priority higher than or equal to
|
||||
* the current task then a yield must be performed. */
|
||||
if( pxTCB->uxPriority >= pxCurrentTCB->uxPriority )
|
||||
{
|
||||
xYieldPending = pdTRUE;
|
||||
|
|
Loading…
Reference in a new issue