Hey guys,I was going through the documents of the RTX rtos API functions and I was confused between the difference between the Message and Mail queue.All that the mail queue does even the message queue could do ,am I wrong here?.There are extra set of API for Mail queue is the only difference i can see which memory pool managment API along with Message queue API can satisfy
The Mail Queue allocates also a memory block from a memory pool. You can use that to pass a block of data. See here: www.keil.com/.../group___c_m_s_i_s___r_t_o_s___mail.html
The Message Queue only passes a 32-bit info value. See here: www.keil.com/.../group___c_m_s_i_s___r_t_o_s___message.html
The benefit of the Mail Queue is that is waits until a mail slot becomes available.