Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: Indy ftp client freezes

www.cryer.info
Managed Newsgroup Archive

Re: Indy ftp client freezes

Subject:Re: Indy ftp client freezes
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Thu, 1 Jun 2006 23:47:43

"Marion Sacharin" <marion@hillbrent.co.uk> wrote in message
news:447fd598$1@newsgroups.borland.com...

> What's the AntiFreeze component??

TIdAntiFreeze.  Since Indy is a library that performs blocking operations,
if you perform them in the context of the main thread, your UI will be
blocked and have slow responsiveness.  Using TIdAntiFreeze in the main
thread periodically calls TApplication.ProcessMessages() while Indy is
blocking the main thread.

However, TIdAntiFreeze is generally not a good component to use whenev erit
can be avoided.  You would be better off doing blocking operations in a
separate worker thread instead.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive