Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: IdTCPServer

www.cryer.info
Managed Newsgroup Archive

Re: IdTCPServer

Subject:Re: IdTCPServer
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Sun, 11 Jun 2006 14:47:39

"Jamie Dale" <j.dale@turboz.net> wrote in message
news:448c1033@newsgroups.borland.com...

> So I can actually declare the CriticalSection in the
> public properties then? - without it protecting itself?

Critical sections are themselves thread-safe.  Any thread can attempt to
access a critical section at any time, and they will lock/unlock the
critical section in a serialized manner accordingly.  The OS manages all of
that.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive