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