Multiple Thread, Queue, UART and ETH

I want to exchange data over the internet and send it to Ewart using another Thread. How can I exchange data between Threads?

Hello,

look on Queue - API references and tutorials | Mbed OS 6 Documentation

BR, Jan

Yes, I have seen this document. I do not understand. Can I use multiple threads and not allocate memory via alloc or is it necessarily ?

On the Queue page bottom you can see an example. The example shows a sender thread what fill the Queue, and also the main (as main thread) what process data from Queue. So there are two threads already, so yes you can.
Not sure, but I think you need to manage memory and that is why the example shows a usage together with MemoryPool.

BR, Jan