Apache Mod-Python - Created: (MODPYTHON-70) Add configure --with-max-locks option to set MAX_LOCKS.

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > August 2005 > Created: (MODPYTHON-70) Add configure --with-max-locks option to set MAX_LOCKS.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Created: (MODPYTHON-70) Add configure --with-max-locks option to set MAX_LOCKS.
Jim Gallacher (JIRA)

2005-08-09, 8:47 pm

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


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.



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com