QueueLenth and IsQueueEmpty
Hi Richard,
I started to play with FreeRTOS integrated in J.Wren’s LPC2148 package, recently. I was really amazed by the large scope of the package and by magnitude of work you put into RTOS itself.
In my application I wanted to check if a given queue is empty, but I couldn’t find such a function in your API. I found out that in revision 4.5.0 (mine is older 4.4.0) you introduced xQueuePeek and it can be used as a test whether queue is empty.
Why QueueLenth(aQueue) and IsQueueEmpty(aQueue) are not present in API ?
I also want to use the trace facility, but I can not localize tracecon.exe utility.
Can you be so kind and address these two issues.
Thanks in advance.
Great, great job !
Jan Topolski
QueueLenth and IsQueueEmpty
See the API funciton uxQueueMessagesWaiting() here: http://www.freertos.org/a00018.html#ucQueueMessagesWaiting
>but I can not localize tracecon.exe utility
I’m not sure what you mean be localize?
Regards.
QueueLenth and IsQueueEmpty
I think he means "locate".
QueueLenth and IsQueueEmpty
… in which case you can find it in the FreeRTOS/TraceCon directory within the FreeRTOS.org zip file download.
Regards.
QueueLenth and IsQueueEmpty
Ricky is right. I couldn’t find TraceCon.exe, for I downloaded FreeRTOS within J. Wren’s LPC2148 package and TraceCon stuff is not included in it.
Thanks.