FreeRTOS queue inside a queue is possible?

Hello fellow developers;

I am new at this forum. I want to save a queue inside another queue. is this possible?

Queue ‘objects’ aren’t really copyable with memcopy, so while you could build a queue that you could enqueue a queue and take it out, and get a bit exact copy, that copy would be broken.

You get the same issue if you use a queue on a struct that has in it pointers to items in the struct, the queue logic doesn’t know about the pointers, so they are not adjusted, so in the final copy, those pointers point to where the were in the original object before it was put into the queue, which is likely incorrect.