[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Handler which is called if a thread wants to synchronize with the main application thread.
Source position: classesh.inc line 1871
var WakeMainThread: TNotifyEvent = nil; |
WakeMainThread is called by the TThread.synchronize call. It should alert the main program thread that a thread is waiting for synchronization. The call is executed by the thread, and should therefore NOT synchronize the thread, but should somehow signal the main thread that a thread is waiting for synchronization. For example, by sending a message.
|
Check whether there are any synchronize calls in the synchronize queue. |
|
|
Synchronizes the thread by executing the method in the main thread. |
lazarus-ccr.sourceforge.net |