Sign in Join
FPDoc Onlineexperiment

TDaemonThread.CheckControlMessage procedure

Member of TDaemonThreadpublicIn unit DaemonApp

Check if a control message has arrived.

Declaration

pascal
procedure CheckControlMessage(WaitForMessage: Boolean)

Arguments

WaitForMessage

If true, routine waits for message to arrive before returning.

Description

CheckControlMessage checks if a control message has arrived for the daemon and executes the appropriate daemon message. If the parameter WaitForMessage is True, then the routine waits for the message to arrive. If it is False and no message is present, it returns at once.

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