Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: IdTCPServer
| Subject: | Re: IdTCPServer |
| Posted by: | "Jamie Dale" (j.da..@turboz.net) |
| Date: | Sun, 11 Jun 2006 01:17:09 |
>Any chance you can provide more details on the critical section please?
>
> Did you even look at the documentation yet? TCriticalSection is
> documented
> in the VCL help file. There is even a "Using critical sections" topic
> available. Also, if you look in the Win32 API help file, there is a
> "Critical Section Objects" section available.
Ok read up on that, but I have one final thing I would like you to confirm
(I think I know the answer but wanna check if thats ok with you)
If using a Critical section, it will block other threads....
Will those threads exit or will they wait until they can enter the critical
section?
EG, will another thread that tries to access it while it is locked, queue
and wait?
Thanks