mirror of
				https://github.com/FreeRTOS/FreeRTOS-Kernel.git
				synced 2025-11-04 02:32:42 -05:00 
			
		
		
		
	missed taskYield in minimalIDLE task
This commit is contained in:
		
							parent
							
								
									106e15ea6b
								
							
						
					
					
						commit
						61fa224694
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								tasks.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								tasks.c
									
										
									
									
									
								
							| 
						 | 
					@ -256,7 +256,6 @@ typedef struct tskTaskControlBlock       /* The old naming convention is used to
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #if ( configUSE_CORE_AFFINITY == 1 && configNUM_CORES > 1 )
 | 
					    #if ( configUSE_CORE_AFFINITY == 1 && configNUM_CORES > 1 )
 | 
				
			||||||
        UBaseType_t uxCoreAffinityMask;            /*< Used to link the task to certain cores.  UBaseType_t must have >= the same number of bits as SMP confNUM_CORES */
 | 
					        UBaseType_t uxCoreAffinityMask;            /*< Used to link the task to certain cores.  UBaseType_t must have >= the same number of bits as SMP confNUM_CORES */
 | 
				
			||||||
        UBaseType_t uxCoreAffinityInheritanceMask; /*< Used to allow a task to inherit the affinity of its parent */
 | 
					 | 
				
			||||||
    #endif
 | 
					    #endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #if ( ( portSTACK_GROWTH > 0 ) || ( configRECORD_STACK_HIGH_ADDRESS == 1 ) )
 | 
					    #if ( ( portSTACK_GROWTH > 0 ) || ( configRECORD_STACK_HIGH_ADDRESS == 1 ) )
 | 
				
			||||||
| 
						 | 
					@ -4231,6 +4230,7 @@ void vTaskMissedYield( void )
 | 
				
			||||||
#if ( configNUM_CORES > 1 )
 | 
					#if ( configNUM_CORES > 1 )
 | 
				
			||||||
    static portTASK_FUNCTION( prvMinimalIdleTask, pvParameters )
 | 
					    static portTASK_FUNCTION( prvMinimalIdleTask, pvParameters )
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        taskYIELD();
 | 
				
			||||||
        for( ; ; )
 | 
					        for( ; ; )
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            #if ( configUSE_PREEMPTION == 0 )
 | 
					            #if ( configUSE_PREEMPTION == 0 )
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue