mirror of
				https://github.com/FreeRTOS/FreeRTOS-Kernel.git
				synced 2025-11-04 11:09:01 +01:00 
			
		
		
		
	UPdate format
This commit is contained in:
		
							parent
							
								
									7ba4124c78
								
							
						
					
					
						commit
						3dade5b5a5
					
				
							
								
								
									
										2
									
								
								portable/ThirdParty/GCC/Posix/port.c
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								portable/ThirdParty/GCC/Posix/port.c
									
									
									
									
										vendored
									
									
								
							@ -389,11 +389,13 @@ static void* prvTimerTickHandler(void *arg)
 | 
			
		||||
        Thread_t * thread;
 | 
			
		||||
 | 
			
		||||
        hCurrentTask = xTaskGetCurrentTaskHandle();
 | 
			
		||||
 | 
			
		||||
        if( hCurrentTask != NULL )
 | 
			
		||||
        {
 | 
			
		||||
            thread = prvGetThreadFromTask( hCurrentTask );
 | 
			
		||||
            pthread_kill( thread->pthread, SIGALRM );
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        usleep( portTICK_RATE_MICROSECONDS );
 | 
			
		||||
        pthread_testcancel();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user