Internet Direct (Indy)
Home
PreviousUpNext
TIdSync.Synchronize Method

Performs Synchronization using a thread instead of a thread method.

Pascal
procedure Synchronize;

Synchronize is a procedure used to avoid conflicts in a multi-threaded application. Synchronize allows the Thread to call its Synchronize method using the abstract virtual DoSynchronize method. 

The net result is that the instance in Thread receives a Notify message, and subsequently is executed, without a realized call to a ThreadMethod.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.