Re: TIdHTTP in multi-threaded environment

Giganews Newsgroups
Subject: Re: TIdHTTP in multi-threaded environment
Posted by:  Remy Lebeau (TeamB) (gambit…@yahoo.com)
Date: Mon, 28 Jul 2003

"Eric Peckham" <accusolve@spamcop.net> wrote in message
news:Xns93C1D42CDDD90empaccusol…@81.3.74.23...
> I notice that the TIdHTTP component blocks the main
> application thread when it is connecting and retrieving data.

No, it does not.  It blocks the calling thread.  If your main thread is
being blocked as well, then that is something in your own code.

> I'm currently inheriting from TThread.  Do I need to use
> a TIdThreadComponent instead?

Makes no difference.

Gambit

Replies

None

In response to

TIdHTTP in multi-threaded environment posted by Eric Peckham on Thu, 24 Jul 2003