🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2039

Re: Indy 9 TIdFTP Client - when is a Put() finished?

#2039
From: Lesley Anne
Date: Thu, 24 Aug 2006 17:31
20 lines
2136 bytes
> TIdAntiFreeze calls Application->ProcessMessages() regularly during
> a blocking operation.  That can have performance issues, as well as
> introduce possible reentrant problems in your event handlers if you
> are not careful.
...
> Lengthy operations tend to work better in general when they are
> moved outside of the main thread.

All right.  I'll make a separate thread for it then.  Although I think I 
should be able to take care of reentry problems by just turning off the 
timer that gets me into this section, I'd rather not introduce any 
performance problems.  Luckily I've got the FTP related code fairly well 
isolated from the other tasks my application is doing, so that should make 
moving it to another thread easier.

I want to thank you for all the help you've been in figuring out how this 
works.  I'll get the hang of working with Indy and blocking sockets in time, 
and all the faster for having someone as knowledgeable as yourself being 
willing to take the time to explain it so clearly.  You've been a great 
help.  Thanks.
Technical Details
Message-ID: <44ede279@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <44ec9e0a@newsgroups.borland.com> <44ecb32d$3@newsgroups.borland.com> <44ecc221$1@newsgroups.borland.com> <44ecd6cd$1@newsgroups.borland.com> <44edc970$1@newsgroups.borland.com> <44edd930$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,14159208397bbfa4
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Lesley Anne" <mspfila-ng@yahoo.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <44ec9e0a@newsgroups.borland.com> <44ecb32d$3@newsgroups.borland.com> <44ecc221$1@newsgroups.borland.com> <44ecd6cd$1@newsgroups.borland.com> <44edc970$1@newsgroups.borland.com> <44edd930$1@newsgroups.borland.com>
Subject: Re: Indy 9 TIdFTP Client - when is a Put() finished?
Date: Thu, 24 Aug 2006 13:31:31 -0400
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 144.160.5.25
Message-ID: <44ede279@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1156440697 144.160.5.25 (24 Aug 2006 10:31:37 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail