[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#rtl) |
Handler which is called if a thread wants to synchronize with the main application thread.
Source position: classesh.inc line 1574
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. |
No notes exist for this page yet.