![]() |
Home |
|
Function RTKAllocMemPoolFunction RTKAllocMemPool creates and initializes a Memory Pool: void RTKAllocMemPool(RTKMemPool * Pool, unsigned BlockSize, unsigned Blocks); ParametersPoolPointer to the pool handle of the pool to initialize. BlockSizeBlock size to use for the memory pool. BlocksThe pool is allocated with Blocks data buffers of size BlockSize each. The memory pool is allocated using RTKAlloc, which in turn uses RTKernel-32's memory driver. Therefore, RTKAllocMemPool will generally not fulfill real-time requirements. Its time behavior is non-deterministic and it must not be called in interrupt handlers.
|