Sign in Join
FPDoc Onlineexperiment

TIPCServerMsgQueue.Pop function

Member of TIPCServerMsgQueuepublicIn unit SimpleIPC

Remove the oldest message from the queue.

Declaration

pascal
function Pop: TIPCServerMsg

Function result

Oldest message in the queue, or Nil.

Description

Pop removes the oldest message from the queue if there is one, and returns it. If none exists, Nil is returned. The caller is responsible for freeing the message instance.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.