On 3/14/06, Phillip J. Eby <pje at telecommunity.com> 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/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4