André Warnier wrote:
- if there is a mandatory difference between threaded/non-threaded mp2 perl code, can I check at run-time under which environment I'm running, and condition which code is executed accordingly ?
To answer one question, you can use the Apache2::MPM module to find out what MPM you're running and execute different code based on the result.
use Apache2::MPM (); my $mpm = lc Apache2::MPM->show; if ($mpm eq 'prefork') { # prefork-specific code } etc... -- Jim Brandt Administrative Computing Services University at Buffalo