Critical sections and mutexes

David Bolen db3l at fitlinxx.com
Thu Oct 25 17:34:31 EDT 2001


<brueckd at tbye.com> writes:

> > If you're able to make assumptions in applications and get away with I
> > certainly won't stop you from writing that way
> 
> Thank goodness! I was worried. :-)

You jest!  :-)

> > But the GIL does nothing for application-specific shared resources.
> > It only protects the interpreter, so that, as you mentioned in another
> > response, a normal Python script can't crash the interpreter.  It does
> > nothing to prevent application-specific data structures from becoming
> > corrupt and affecting the behavior of the application.
> 
> Hey, did you cut and paste that from one of my previous posts? It sounds
> an awful lot like what I was saying. :-)

Drat, and we were doing so well politely disagreeing... :-)

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list