[mod_python] Re: Another threading issue: chdir (fwd)
Greg Stein
gstein at lyra.org
Mon Jun 12 14:57:19 EST 2000
On Mon, Jun 12, 2000 at 05:48:08PM -0400, Gregory Trubetskoy wrote:
> On Mon, 12 Jun 2000, Greg Stein wrote:
>...
> > sys.path is specific to an interpreter, rather than to a thread. Therefore,
> > threads should not be changing it.
>
> On a related note though - is ap_table_set() thread-safe? I'm thinking of
> all the Python* directives in .htaccess.
They are not thread-safe, but the only tables that would be changed are in
the request_rec and possibly the conn_rec. In other words: private to the
thread.
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
More information about the Mod_python
mailing list