Site Tools


documentation:development:opera:pf25:tktfldr:dsrfldr:01dsr002

AllocPoolMem

Allocates a memory pool entry.

Synopsis

void* AllocPoolMem (MemPoolPtr memPool)

Description

Allocates a memory pool entry (memory buffer). An acquisition thread calls AllocMemPool() to allocate the entries in which data chunks are stored. The DataStreamer kernel thread calls CreateMemPool() to create the entries allocated to subscriber and data messages, which are used to pass out the data chunks to various subscribers.

Arguments

  • memPool Memory pool from which AllocPoolMem() requests an entry.

Return Value

  • Value Error Condition
  • (First free entry in memory pool) None
  • NULL No available entries

Associated Files

MemPool.h

See Also

documentation/development/opera/pf25/tktfldr/dsrfldr/01dsr002.txt · Last modified: 2022/10/10 16:54 by 127.0.0.1