I dont understand very well so that we use the memory pool.... Can u explain me? Thanks
Sorry, under RTX-51.
yesd,
the memory pool is a pool of memory which you allocate blocks of to use for storing data.
Is it similar to use a the MailBoxes(Messages)??
no it is not
However, you may make use of the memory pool to allocate mailboxes or objects to send.
The memory pool is similar to the normal heap handled by malloc() but with the difference that you have a predefined amount of memory and you have predefined block sizes. Allocating predefined block sizes means that you don't get any memory fragmentation. And it also means that an allocation/release can be very fast - fast enough that you can run it in a critical section.
Well, i need to save 3 char in memory pool(task 1), then another task get it and star the operation. How can do it with memory pool? I dont know to save datas in memory pool.
Thanks
save data to a pool with his pointer