| 2352 | /*-----------------------------------------------------------*/ |
| 2353 | |
| 2354 | static BaseType_t prvIsQueueEmpty( const Queue_t * pxQueue ) |
| 2355 | { |
| 2356 | BaseType_t xReturn; |
| 2357 | |
| 2358 | taskENTER_CRITICAL(); |
| 2359 | { |
| 2360 | if( pxQueue->uxMessagesWaiting == ( UBaseType_t ) 0 ) |
| 2361 | { |
| 2362 | xReturn = pdTRUE; |
| 2363 | } |
| 2364 | else |
| 2365 | { |
| 2366 | xReturn = pdFALSE; |
| 2367 | } |
| 2368 | } |
| 2369 | taskEXIT_CRITICAL(); |
| 2370 | |
| 2371 | return xReturn; |
| 2372 | } |
| 2373 | /*-----------------------------------------------------------*/ |
| 2374 | |
| 2375 | BaseType_t xQueueIsQueueEmptyFromISR( const QueueHandle_t xQueue ) |
no outgoing calls
no test coverage detected