You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by "Nicolas Lehuen (JIRA)" <ji...@apache.org> on 2005/08/10 14:22:35 UTC

[jira] Resolved: (MODPYTHON-70) Add configure --with-max-locks option to set MAX_LOCKS.

     [ http://issues.apache.org/jira/browse/MODPYTHON-70?page=all ]
     
Nicolas Lehuen resolved MODPYTHON-70:
-------------------------------------

    Fix Version: 3.2.0
     Resolution: Fixed

> Add configure --with-max-locks option to set MAX_LOCKS.
> -------------------------------------------------------
>
>          Key: MODPYTHON-70
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-70
>      Project: mod_python
>         Type: New Feature
>   Components: core
>     Versions: 3.2.0
>  Environment: All
>     Reporter: Jim Gallacher
>     Priority: Trivial
>      Fix For: 3.2.0

>
> MAX_LOCKS in src/include/mod_python.h is currently hard coded (currently 32).
> Since the number of mutexes on some systems is limited, users may prefer to use a different number when compiling mod_python.
> The now configure would be  --with-max-locks=INTERGER.
> eg.
> $ ./configure --with-max-locks=4
> The default should also be lower than 32. Grisha has suggested 8.
> I'll commit the changes shortly.
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira