BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Indy 9 equivalent for TIdTCPServer.ThreadMgr.Lock.Enter

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Pam A
Guest





PostPosted: Mon Nov 15, 2004 6:29 pm    Post subject: Indy 9 equivalent for TIdTCPServer.ThreadMgr.Lock.Enter Reply with quote



OK, things runs slow here and we're just now researching upgrading to D7
(and consequently Indy 9). I've looked everywhere and not found an analog
for ThreadMgr.Lock.Enter. Am I just going to have to create my own
TCriticalSection?

This is critical for the application. We've just got the default Indy
(9.0.10) installed on D7.


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Mon Nov 15, 2004 7:09 pm    Post subject: Re: Indy 9 equivalent for TIdTCPServer.ThreadMgr.Lock.Enter Reply with quote




"Pam A" <pabdulla (AT) qmedtrix (DOT) com> wrote


Quote:
OK, things runs slow here and we're just now
researching upgrading to D7 (and consequently Indy 9).

Are you currently using Indy 8 then?

Quote:
I've looked everywhere and not found an analog for
ThreadMgr.Lock.Enter.

TIdTCPServer has a Threads property, which is a TThreadList, which has
Lock() and Unlock() methods.

If you want to lock the ThreadMgr directly, it has an ActiveThreads
property, which is also a TThreadList.

Quote:
Am I just going to have to create my own TCriticalSection?

No.

Quote:
We've just got the default Indy (9.0.10) installed on D7.

9.0.10 is a very old version. The current development snapshot version is
9.0.50.


Gambit



Back to top
Pam A
Guest





PostPosted: Mon Nov 15, 2004 8:25 pm    Post subject: Re: Indy 9 equivalent for TIdTCPServer.ThreadMgr.Lock.Enter Reply with quote




"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote in message
Quote:
Are you currently using Indy 8 then?

Yup. Told you we're slow...

Quote:
TIdTCPServer has a Threads property, which is a TThreadList, which has
Lock() and Unlock() methods.

I see LockList and UnlockList...

Quote:
9.0.10 is a very old version. The current development snapshot version is
9.0.50.

Thanks. I'll let the development team know.

....and thanks for your speedy reply.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.