• Memory Pool (malloc/free) Free Space?
    Quite simply, how can I tell how much free memory I have in a memory pool? I've created a memory pool, initialized it with init_mempool and use malloc & free finctions for memory management. Is...
  • Memory Pool (malloc/free) Free Space?
    Quite simply, how can I tell how much free memory I have in a memory pool? I've created a memory pool, initialized it with init_mempool and use malloc & free finctions for memory management. Is...
  • How to malloc from the beginning of init_mempool.
    Hi, there, The malloc always allocate memory at the tail of the memory initialized by init_mempool(). How to make "malloc()" allocate memory from the beginning of the initialized memory? In details...
  • How to malloc from the beginning of init_mempool.
    Hi, there, The malloc always allocate memory at the tail of the memory initialized by init_mempool(). How to make "malloc()" allocate memory from the beginning of the initialized memory? In details...
  • Memory pool
    Hello all, I'm working with C51 complier ver 7.00. Can anyone help me with the following questions? 1. For using functions like malloc, calloc and etc I need to define memory pool. If I define a...