Site Tools


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

FillPoolWithMsgItems

Fills memory pool with message items.

Synopsis

Boolean FillPoolWithMsgItems (MemPoolPtr memPool, Item replyPort)

Description

Allocates a message item for each entry in a memory pool. The items created by FillPoolWithMsgItems() will have their reply port field set to the value of replyPort.

The DataStreamer calls ForEachFreePoolMember() to allocate the items; ForEachFreePoolMember() then calls CreateMsgItem() to create the items that are allocated to the entries.

Arguments

  • memPool Memory pool.
  • replyPort Reply port selected for the items.

Return Value

  • Value Error Condition
  • TRUE None
  • FALSE CreateMsgItem() failed

Associated Files

DataStreamLib.h

See Also

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