mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-10 08:07:46 -04:00
Give queue set queues a unique type number.
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.
This commit is contained in:
parent
65e6297b68
commit
c96b208327
1 changed files with 1 additions and 1 deletions
|
@ -71,11 +71,11 @@ typedef struct QueueDefinition * QueueSetMemberHandle_t;
|
||||||
|
|
||||||
/* For internal use only. These definitions *must* match those in queue.c. */
|
/* For internal use only. These definitions *must* match those in queue.c. */
|
||||||
#define queueQUEUE_TYPE_BASE ( ( uint8_t ) 0U )
|
#define queueQUEUE_TYPE_BASE ( ( uint8_t ) 0U )
|
||||||
#define queueQUEUE_TYPE_SET ( ( uint8_t ) 0U )
|
|
||||||
#define queueQUEUE_TYPE_MUTEX ( ( uint8_t ) 1U )
|
#define queueQUEUE_TYPE_MUTEX ( ( uint8_t ) 1U )
|
||||||
#define queueQUEUE_TYPE_COUNTING_SEMAPHORE ( ( uint8_t ) 2U )
|
#define queueQUEUE_TYPE_COUNTING_SEMAPHORE ( ( uint8_t ) 2U )
|
||||||
#define queueQUEUE_TYPE_BINARY_SEMAPHORE ( ( uint8_t ) 3U )
|
#define queueQUEUE_TYPE_BINARY_SEMAPHORE ( ( uint8_t ) 3U )
|
||||||
#define queueQUEUE_TYPE_RECURSIVE_MUTEX ( ( uint8_t ) 4U )
|
#define queueQUEUE_TYPE_RECURSIVE_MUTEX ( ( uint8_t ) 4U )
|
||||||
|
#define queueQUEUE_TYPE_SET ( ( uint8_t ) 5U )
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* queue. h
|
* queue. h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue