full queue in ISR

jakbird wrote on Thursday, August 30, 2007:

Inside an interrupt ISR for a UART, I receive data and place it in a queue with the xQueueSendFromISR call.  Is there a way, inside the ISR, to determine if the queue is full?  I want to log if the ISR has to drop characters due to lack of queue space.
  Jack Peacock

davedoors wrote on Friday, August 31, 2007:

No, this is a bit amiss.  You could easily add a parameter to the function to return this information.  Or add a version of uxQueueMessagesWaiting that can be called from an interrupt (basically don’t use any portENTER/EXIT_CRITICAL_SECTION calls).