Sign in Join
FPDoc Onlineexperiment

TSimpleIPCServer.SynchronizeEvents property

Member of TSimpleIPCServerpublishedIn unit SimpleIPC

Should events be run in the main thread ?

Declaration

pascal
property SynchronizeEvents: Boolean read FSynchronizeEvents write SetSynchronizeEvents default DefaultSynchronizeEvents;

Description

SynchronizeEvents can be set to True to force execution of events in the main thread, when the server is running in threaded mode. If set to False, the events will be triggered in the thread responsible for checking messages. It is ignored when the server is not running threaded. It cannot be set when the server is already started.

See also

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