Search Results

Search results 1-1 of 1.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • I had a question about queues in embOS and it's ability to handle different size messages. When I think of a queue message implementation, I think of a ring buffer. It will have a head and tail pointer and data pushed to the ring buffer will wrap around to the start of the buffer again. Most Queues, like FreeRTOS does not allow dynamic size messages like this, because if the queue is an integer multiple of the message size, all messages will always fit evenly in the queue and when the pointer wr…