|
|
@ -2195,11 +2195,7 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
|
|
|
|
* have put ourselves to sleep. */
|
|
|
|
* have put ourselves to sleep. */
|
|
|
|
if( xAlreadyYielded == pdFALSE )
|
|
|
|
if( xAlreadyYielded == pdFALSE )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#if ( configNUMBER_OF_CORES == 1 )
|
|
|
|
taskYIELD_WITHIN_API();
|
|
|
|
portYIELD_WITHIN_API();
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
vTaskYieldWithinAPI();
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -2251,11 +2247,7 @@ static void prvInitialiseNewTask( TaskFunction_t pxTaskCode,
|
|
|
|
* have put ourselves to sleep. */
|
|
|
|
* have put ourselves to sleep. */
|
|
|
|
if( xAlreadyYielded == pdFALSE )
|
|
|
|
if( xAlreadyYielded == pdFALSE )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#if ( configNUMBER_OF_CORES == 1 )
|
|
|
|
taskYIELD_WITHIN_API();
|
|
|
|
portYIELD_WITHIN_API();
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
vTaskYieldWithinAPI();
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -7253,15 +7245,7 @@ TickType_t uxTaskResetEventItemValue( void )
|
|
|
|
* section (some will yield immediately, others wait until the
|
|
|
|
* section (some will yield immediately, others wait until the
|
|
|
|
* critical section exits) - but it is not something that
|
|
|
|
* critical section exits) - but it is not something that
|
|
|
|
* application code should ever do. */
|
|
|
|
* application code should ever do. */
|
|
|
|
#if ( configNUMBER_OF_CORES == 1 )
|
|
|
|
taskYIELD_WITHIN_API();
|
|
|
|
{
|
|
|
|
|
|
|
|
portYIELD_WITHIN_API();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
vTaskYieldWithinAPI();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -7344,15 +7328,7 @@ TickType_t uxTaskResetEventItemValue( void )
|
|
|
|
* section (some will yield immediately, others wait until the
|
|
|
|
* section (some will yield immediately, others wait until the
|
|
|
|
* critical section exits) - but it is not something that
|
|
|
|
* critical section exits) - but it is not something that
|
|
|
|
* application code should ever do. */
|
|
|
|
* application code should ever do. */
|
|
|
|
#if ( configNUMBER_OF_CORES == 1 )
|
|
|
|
taskYIELD_WITHIN_API();
|
|
|
|
{
|
|
|
|
|
|
|
|
portYIELD_WITHIN_API();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
vTaskYieldWithinAPI();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|