Exforsys
+ Reply to Thread
Results 1 to 2 of 2

How to Carry out Implementation

This is a discussion on How to Carry out Implementation within the C and C++ forums, part of the Programming Talk category; I want to know how one can carry out Memory pool implementation using C++ programming language. Also let me know ...

  1. #1
    rachelle is offline Member Array
    Join Date
    Apr 2006
    Answers
    97

    Question How to Carry out Implementation

    I want to know how one can carry out Memory pool implementation using C++ programming language. Also let me know how to access the allocated memory pool using C++ programming language. If someone idea is provided in this line I would try the same and envisage my knowledge in this regard.


  2. #2
    norman is offline Member Array
    Join Date
    May 2006
    Answers
    43
    You can use the following statement to allocate memory

    MemPoolHandle allocateMemory(size_t bytes);

    If you are creating a simple memory pool it would surely allocate three pools during compile time and the block size allocated for each depends on the application.


Latest Article

Network Security Risk Assessment and Measurement

Read More...