Unit 'simpleipc' Package
[Overview][Resource strings][Constants][Types][Classes][Variables][Index] [#fcl]

TSimpleIPCServer.SynchronizeEvents

Should events be run in the main thread ?

Declaration

Source position: simpleipc.pp line 239

published property TSimpleIPCServer.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

TSimpleIPCServer.Threaded

  

Is the server running threaded or not ?

StartServer

  

Start the server.


Documentation generated on: Dec 22 2024