Re: Having as low GUI hang as possible

Giganews Newsgroups
Subject: Re: Having as low GUI hang as possible
Posted by:  Remy Lebeau (TeamB) (gambit47.no.spam@no.spam.yahoo.com)
Date: Mon, 17 May 2004

"Caleb" <no…@hotmail.com> wrote in message
news:DB80F6F5919DE240no…@hotmail.com...

> When i send POST/GET requests the program hangs a bit.

As well it should, since those are blocking operations, they do not return
until they are finished, and thus the message queue is blocked while they
are working.

> What would be the perfect settings for IdAntiFreeze to have
> less hanging or stress?

Not using TIdAntiFreeze in the first place.  Move the code into its own
worker thread.  Then your GUI won't be frozen at all.

Gambit

Replies

In response to

Having as low GUI hang as possible posted by Caleb on Mon, 17 May 2004