MCPcopy Create free account
hub / github.com/FreeRTOS/FreeRTOS-Kernel / prvIsQueueFull

Function prvIsQueueFull

queue.c:2395–2413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2393/*-----------------------------------------------------------*/
2394
2395static BaseType_t prvIsQueueFull( const Queue_t * pxQueue )
2396{
2397 BaseType_t xReturn;
2398
2399 taskENTER_CRITICAL();
2400 {
2401 if( pxQueue->uxMessagesWaiting == pxQueue->uxLength )
2402 {
2403 xReturn = pdTRUE;
2404 }
2405 else
2406 {
2407 xReturn = pdFALSE;
2408 }
2409 }
2410 taskEXIT_CRITICAL();
2411
2412 return xReturn;
2413}
2414/*-----------------------------------------------------------*/
2415
2416BaseType_t xQueueIsQueueFullFromISR( const QueueHandle_t xQueue )

Callers 2

xQueueGenericSendFunction · 0.85
xQueueCRSendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected