 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Pam A Guest
|
Posted: Mon Nov 15, 2004 6:29 pm Post subject: Indy 9 equivalent for TIdTCPServer.ThreadMgr.Lock.Enter |
|
|
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
|
Posted: Mon Nov 15, 2004 7:09 pm Post subject: Re: Indy 9 equivalent for TIdTCPServer.ThreadMgr.Lock.Enter |
|
|
"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
|
Posted: Mon Nov 15, 2004 8:25 pm Post subject: Re: Indy 9 equivalent for TIdTCPServer.ThreadMgr.Lock.Enter |
|
|
"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 |
|
 |
|
|
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
|
|