Topic Path: Symbol Reference > Classes > TIdSync Class > TIdSync Methods > Synchronize Method
TIdSync.Synchronize Method

Performs Synchronization using a thread instead of a thread method.

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.