On 3/14/06, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
> At 02:21 PM 3/14/2006 -0500, Tim Peters wrote:
> >The common meaning is:
> >
> >     a section of code such that, once a thread enters it, all other
> >     threads are blocked from entering the section for the duration
>
> That doesn't seem like a very useful definition, since it describes any
> piece of code that's protected by a statically-determined mutex.  But you
> clearly have more experience in this than I.

Trust Tim. That's what "critical section" means in most places. And
yes, indeed, a static mutex is the obvious way to implement it.

--
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to