mpmt_pthread

Checkout Tools
  • last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Cleaning up and moving around .cvsignore files for the threaded mpm

  1. … 2 more files in changeset.
Rename the mpmt_pthread module to threaded. This module has moved from

the old mpmt_pthread directory to the new threaded directory.

  1. … 20 more files in changeset.
Remove all instances of apache_apr_flags="--enable-threads" from the

config.m4 files. If we leave those in, then Apache automatically

enables threads for all machines when a threaded MPM is chosen. We want

people to have to force threads for platforms that don't run threads

well (i.e. FreeBSD).

  1. … 1 more file in changeset.
Update copyright to 2001

  1. … 203 more files in changeset.
doh. need a spellchekker for these rename scripts. s/apr_lock_aquire/apr_lock_acquire/g;

  1. … 8 more files in changeset.
Begin to move the code that updates the child status out of the MPMs and

into the main-line code. This ensures that all MPMs can easily forget

about updating their status.

  1. … 6 more files in changeset.
INIT_SIGLIST() is gone; stop using it

  1. … 6 more files in changeset.
*) include "apr_signal.h" when needed

*) some other minor include tweaks

  1. … 6 more files in changeset.
Small header file cleanup.

*) continued header revamping

*) torch some headers (and some libs) from the autoconf stuff

  1. … 25 more files in changeset.
Replace reinit_scoreboard with ap_create_scoreboard.

  1. … 8 more files in changeset.
renaming various functions for consistency sake

see: http://apr.apache.org/~dougm/apr_rename.pl

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 94 more files in changeset.
Get the Unix MPMs restarting again. If we are going to register a cleanup

for ap_cleanup_scoreboard, then we have to kill that cleanup with the same

function. This also makes ap_cleanup_scoreboard a non-static function, and

makes ap_cleanup_shared_mem a static function.

  1. … 7 more files in changeset.
get rid of some cruft related to a now-unused parameter to

make_child() and unnecessary calls to time()

  1. … 6 more files in changeset.
get Unix MPMs to build again after recent scoreboard changes

  1. … 2 more files in changeset.
Setup the server start time correctly. This also gets the server uptime

to be reported correctly. I have also moved this code into a common

location, so that individual MPMs do not need to worry about setting up

the start time.

  1. … 6 more files in changeset.
ap_new_connection() returns NULL if an error occurred (prefork MPM

and ap_new_connection() were changed last week)

I have skipped putting the change into WinNT MPM and mod_proxy. I

left a note in the mod_proxy code; for the NT MPM I think I can talk

somebody into doing the right thing for me.

  1. … 9 more files in changeset.
More mod_status work... Get Current Time, Restart Time and Server uptime

displaying properly.

  1. … 6 more files in changeset.
Fix some bogosity dealing with the mapping from process and thread

numbers to ids and back.

This gets mpmt_pthread working again (it was hanging/looping before this).

I don't know whether or not dexter had the same problem.

Submitted by: Jeff Trawick and Greg Ames

  1. … 1 more file in changeset.
Bring mod_status for 2.0 back in line with mod_status for 1.3. This is

basically a straight port of the 1.3 module to 2.0. The MPMs need to be

modified a bit to work with mod_status, but prefork, mpmt_pthread, and

dexter have already been changed. I will fix perchild tonight. There

is a lot of common code that can be abstracted, and there seems to be a

small bug with regard to what mpmt_pthread and dexter report as current

connections. ExtendedStatus does work again, although until the bug

mentioned above is fixed, it isn't as useful on mpmt_pthread and dexter.

Next week, I will look at allowing other modules to add data to the

STATUS page and possibly to the scoreboard itself.

  1. … 31 more files in changeset.

Use the appropriate APR_FINFO_flags for the apr_stat/lstat/getfileinfo

calls to avoid ownership and permissions on Win32 when they are not

required, and until they are implemented.

  1. … 15 more files in changeset.

The changes required for the APR_FINFO_wanted argument to

apr_stat/lstat/getfileinfo. These are -NOT- optimal, they

are simply the required changes to get the server working.

The size of the patch is a warning about how we need to

really look at what we are trying to accomplish with all

of these stat/lstat calls.

  1. … 26 more files in changeset.

The big change. This is part 3 of the apr-util symbols rename, please

see the first commit of srclib/apr-util/include (cvs apr-util/include)

for the quick glance at symbols changed.

  1. … 85 more files in changeset.
fix the declaration of the register-hooks function in the remaining

MPMs... Ryan fixed prefork.c yesterday

  1. … 7 more files in changeset.
Stop using environment variables to set ONE_PROCESS and NO_DETACH. Now

we use the -D command line argument to Apache to configure these

options.

Submitted by: Greg Stein

  1. … 9 more files in changeset.
get rid of some bogus uses of perror()

  1. … 3 more files in changeset.
Make handlers use hooks.

  1. … 23 more files in changeset.
ap_start_shutdown is not used by anybody outside of the MPMs, so we don't

need to put it in the ap_mpm.h header file. This also makes all of the

instances of ap_start_shutdown static.

  1. … 6 more files in changeset.
Get Apache to configure completely again. This still doesn't build, but

now we are getting very close.

  1. … 12 more files in changeset.
Get rid of ap_new_apr_connection(). ap_new_connection() now has

fewer parameters: the local and remote socket addresses were removed

from the parameter list because all required information is available

via the APR socket.

I haven't tested the most important part -- the WinNT MPM changes

-- but it compiles and it looks okay :) If the WinNT MPM works on

Win98 these days let me know.

  1. … 11 more files in changeset.