TThread.ForceQueue procedure
Always queue a method for execution in the main thread.
Declaration
procedure ForceQueue(aMethod: TThreadMethod)
class procedure ForceQueue(aThread: TThread; aMethod: TThreadMethod;
aDelay: Integer=0); staticDescription
ForceQueue schedules a method
aMethod for execution in the
main thread, just like
Queue. In difference with
Queue,
if the call is made from the main thread, the function will not be executed at once, bu will actuall be put in the queue.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
