|
|
|
@ -60,20 +60,20 @@
|
|
|
|
|
*----------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
/* Constants used with the cRxLock and cTxLock structure members. */
|
|
|
|
|
#define queueUNLOCKED ( ( signed portBASE_TYPE ) -1 )
|
|
|
|
|
#define queueLOCKED_UNMODIFIED ( ( signed portBASE_TYPE ) 0 )
|
|
|
|
|
#define queueUNLOCKED ( ( signed portBASE_TYPE ) -1 )
|
|
|
|
|
#define queueLOCKED_UNMODIFIED ( ( signed portBASE_TYPE ) 0 )
|
|
|
|
|
|
|
|
|
|
#define queueERRONEOUS_UNBLOCK ( -1 )
|
|
|
|
|
#define queueERRONEOUS_UNBLOCK ( -1 )
|
|
|
|
|
|
|
|
|
|
/* For internal use only. */
|
|
|
|
|
#define queueSEND_TO_BACK ( 0 )
|
|
|
|
|
#define queueSEND_TO_FRONT ( 1 )
|
|
|
|
|
#define queueSEND_TO_BACK ( 0 )
|
|
|
|
|
#define queueSEND_TO_FRONT ( 1 )
|
|
|
|
|
|
|
|
|
|
/* Effectively make a union out of the xQUEUE structure. */
|
|
|
|
|
#define pxMutexHolder pcTail
|
|
|
|
|
#define uxQueueType pcHead
|
|
|
|
|
#define uxRecursiveCallCount pcReadFrom
|
|
|
|
|
#define queueQUEUE_IS_MUTEX NULL
|
|
|
|
|
#define pxMutexHolder pcTail
|
|
|
|
|
#define uxQueueType pcHead
|
|
|
|
|
#define uxRecursiveCallCount pcReadFrom
|
|
|
|
|
#define queueQUEUE_IS_MUTEX NULL
|
|
|
|
|
|
|
|
|
|
/* Semaphores do not actually store or copy data, so have an items size of
|
|
|
|
|
zero. */
|
|
|
|
|