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
Jim Gallacher added a comment - 10/Aug/05 03:07 AM
Changes committed. This issue can be closed.

Jim Gallacher added a comment - 17/Sep/05 12:04 AM
Fixed