mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-05 05:43:51 -04:00
Updated from upstream
This commit is contained in:
parent
e71e702110
commit
d58750f5f9
1 changed files with 132 additions and 140 deletions
8
tasks.c
8
tasks.c
|
@ -1615,14 +1615,6 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB )
|
||||||
if( pxCurrentTCBs[ xCoreID ] == NULL )
|
if( pxCurrentTCBs[ xCoreID ] == NULL )
|
||||||
{
|
{
|
||||||
pxNewTCB->xTaskRunState = xCoreID;
|
pxNewTCB->xTaskRunState = xCoreID;
|
||||||
|
|
||||||
/* This section of code pins the idle tasks to cores.
|
|
||||||
#if ( configUSE_CORE_AFFINITY == 1 )
|
|
||||||
* {
|
|
||||||
* pxNewTCB->uxCoreAffinityMask = ( 1 << xCoreID );
|
|
||||||
* }
|
|
||||||
#endif
|
|
||||||
*/
|
|
||||||
pxCurrentTCBs[ xCoreID ] = pxNewTCB;
|
pxCurrentTCBs[ xCoreID ] = pxNewTCB;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue