File: mpms.pod

package info (click to toggle)
libapache2-mod-perl2 2.0.9~1624218-2%2Bdeb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 11,912 kB
  • ctags: 4,588
  • sloc: perl: 95,064; ansic: 14,527; makefile: 49; sh: 18
file content (73 lines) | stat: -rw-r--r-- 1,549 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
=head1 NAME

MPMs - Multi-Processing Model Modules

=head1 Description

Discover what are the available MPMs and how they work with mod_perl.

META: This doc is under construction. Owners are wanted. -- pgollucci volunteering

=head1 MPMs Overview

=head1 The Worker MPM

META: incomplete

You can test whether running under threaded env via: C<?>

  #ifdef USE_ITHREADS
  /* whatever */
  #endif

When the server is running under the threaded mpm
C<scfg-E<gt>threaded_mpm> is set to true.

Caveats:

All per-server data is shared between threads, regardless of locking,
changing the value of something like ap_document_root changes it for
all threads.  Not just the current process/request, the way it was in
1.3.  So we can't really support modification of things like
ap_document_root at request time, unless the mpm is prefork.  we could
support modification of modperl per-server data by using
r-E<gt>request_config in the same way push_handlers et al is
implemented.  But it is not possible to use this approach for anything
outside of modperl (ap_document_root for example).

=head1 The Prefork MPM

META: incomplete

=head1 The Event MPM

=head1 Maintainers

Maintainer is the person(s) you should contact with updates,
corrections and patches.

=over

=item *

Philip M. Gollucci E<lt>pgollucci (at) p6m7g8.comE<gt>

=back


=head1 Authors

=over

=item *

Stas Bekman [http://stason.org/]
Philip M. Gollucci E<lt>pgollucci (at) p6m7g8.comE<gt>

=back

Only the major authors are listed above. For contributors see the
Changes file.

=cut