mirror of
				https://github.com/FreeRTOS/FreeRTOS-Kernel.git
				synced 2025-11-04 02:59:01 +01:00 
			
		
		
		
	Give queue set queues a unique type number. (#1083)
Discussed here: https://forums.freertos.org/t/tracing-improvements/20097 Changes the value of queueQUEUE_TYPE_SET to a unique value (5) to allow tracers to differentiate between normal queues and queue sets. Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									69e1b7c64a
								
							
						
					
					
						commit
						5a0898288d
					
				@ -71,11 +71,11 @@ typedef struct QueueDefinition   * QueueSetMemberHandle_t;
 | 
			
		||||
 | 
			
		||||
/* For internal use only.  These definitions *must* match those in queue.c. */
 | 
			
		||||
#define queueQUEUE_TYPE_BASE                  ( ( uint8_t ) 0U )
 | 
			
		||||
#define queueQUEUE_TYPE_SET                   ( ( uint8_t ) 0U )
 | 
			
		||||
#define queueQUEUE_TYPE_MUTEX                 ( ( uint8_t ) 1U )
 | 
			
		||||
#define queueQUEUE_TYPE_COUNTING_SEMAPHORE    ( ( uint8_t ) 2U )
 | 
			
		||||
#define queueQUEUE_TYPE_BINARY_SEMAPHORE      ( ( uint8_t ) 3U )
 | 
			
		||||
#define queueQUEUE_TYPE_RECURSIVE_MUTEX       ( ( uint8_t ) 4U )
 | 
			
		||||
#define queueQUEUE_TYPE_SET                   ( ( uint8_t ) 5U )
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * queue. h
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user