Life cycle of a mod_python application and scope of global variables

Peter Abel p-abel at t-online.de
Mon Jan 27 22:25:52 CET 2003


Kyle Yancey <kyle at lakeofburningfire.org> wrote in message news:<sl473v0q7g05nd3r1fuuihg7a2dnjdo2lj at 4ax.com>...
> Yep, that's right.  I shouldn't have typed that in so fast.  Now for
> my original question.  Do global values have to be protected by
> mutexes to prevent race conditions.

I'm not familiar with threads which need to be
coordinated for time access but my belly says 'YES'.
Hope someone else with more experience for this problem
can help you further.
Regards
Peter




More information about the Python-list mailing list