Issue Details (XML | Word | Printable)

Key: MODPYTHON-70
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Jim Gallacher
Reporter: Jim Gallacher
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

Add configure --with-max-locks option to set MAX_LOCKS.

Created: 10/Aug/05 03:01 AM   Updated: 17/Sep/05 12:04 AM
Return to search
Component/s: core
Affects Version/s: 3.2.7
Fix Version/s: 3.2.7

Time Tracking:
Not Specified

Environment: All

Resolution Date: 10/Aug/05 09:21 PM


 Description  « Hide
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.

 

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #231071 Tue Aug 09 18:07:09 UTC 2005 jgallacher Added configure option for setting MAX_LOCKS at compile time.
Default for MAX_LOCKS also changed from 32 to 8.
Ref MODPYTHON-70
Files Changed
MODIFY /httpd/mod_python/trunk/Doc/modpython2.tex
MODIFY /httpd/mod_python/trunk/src/include/mod_python.h
MODIFY /httpd/mod_python/trunk/configure
MODIFY /httpd/mod_python/trunk/configure.in
ADD /httpd/mod_python/trunk/src/include/mod_python.h.in