[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

CheckSynchronize

Check whether there are any synchronize calls in the synchronize queue.

Declaration

Source position: classesh.inc line 1866

function CheckSynchronize(

  timeout: LongInt = 0

):Boolean;

Description

CheckSynchronize should be called regularly by the main application thread to handle any TThread.synchronize calls that may be waiting for execution by the main thread.

See also

TThread.synchronize

  

Synchronizes the thread by executing the method in the main thread.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.