perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject cvs commit: modperl-docs/src/docs/2.0/user/handlers http.pod
Date Mon, 01 Dec 2003 17:56:30 GMT
geoff       2003/12/01 09:56:30

  Modified:    src/docs/2.0/api/APR Const.pod
               src/docs/2.0/api/Apache Const.pod
               src/docs/2.0/user/coding coding.pod
               src/docs/2.0/user/handlers http.pod
  Log:
  updates for :filetype, :mpmq, and Apache::MPM->is_threaded()
  
  Revision  Changes    Path
  1.4       +36 -0     modperl-docs/src/docs/2.0/api/APR/Const.pod
  
  Index: Const.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/APR/Const.pod,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Const.pod	25 Aug 2003 01:17:13 -0000	1.3
  +++ Const.pod	1 Dec 2003 17:56:30 -0000	1.4
  @@ -294,6 +294,42 @@
   
   
   
  +=head2 C<:filetype>
  +
  +  use APR::Const -compile => qw(:filetype);
  +
  +The C<:filetype> group is for XXX constants.
  +
  +=head3 C<APR::NOFILE>
  +
  +
  +=head3 C<APR::REG>
  +
  +
  +=head3 C<APR::DIR>
  +
  +
  +=head3 C<APR::CHR>
  +
  +
  +=head3 C<APR::BLK>
  +
  +
  +=head3 C<APR::PIPE>
  +
  +
  +=head3 C<APR::LNK>
  +
  +
  +=head3 C<APR::SOCK>
  +
  +
  +=head3 C<APR::UNKFILE>
  +
  +
  +
  +
  +
   =head2 C<:finfo>
   
     use APR::Const -compile => qw(:finfo);
  
  
  
  1.4       +55 -0     modperl-docs/src/docs/2.0/api/Apache/Const.pod
  
  Index: Const.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/Const.pod,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Const.pod	2 Oct 2003 13:33:29 -0000	1.3
  +++ Const.pod	1 Dec 2003 17:56:30 -0000	1.4
  @@ -438,6 +438,61 @@
   
   
   
  +=head2 C<:mpmq>
  +
  +  use Apache::Const -compile => qw(:mpmq);
  +
  +The C<:mpmq> group is for querying MPM properties.
  +
  +=head3 C<Apache::MPMQ_NOT_SUPPORTED>
  +
  +
  +=head3 C<Apache::MPMQ_STATIC>
  +
  +
  +=head3 C<Apache::MPMQ_DYNAMIC>
  +
  +
  +=head3 C<Apache::MPMQ_MAX_DAEMON_USED>
  +
  +
  +=head3 C<Apache::MPMQ_IS_THREADED>
  +
  +
  +=head3 C<Apache::MPMQ_IS_FORKED>
  +
  +
  +=head3 C<Apache::MPMQ_HARD_LIMIT_DAEMONS>
  +
  +
  +=head3 C<Apache::MPMQ_HARD_LIMIT_THREADS>
  +
  +
  +=head3 C<Apache::MPMQ_MAX_THREADS>
  +
  +
  +=head3 C<Apache::MPMQ_MIN_SPARE_DAEMONS>
  +
  +
  +=head3 C<Apache::MPMQ_MIN_SPARE_THREADS>
  +
  +
  +=head3 C<Apache::MPMQ_MAX_SPARE_DAEMONS>
  +
  +
  +=head3 C<Apache::MPMQ_MAX_SPARE_THREADS>
  +
  +
  +=head3 C<Apache::MPMQ_MAX_REQUESTS_DAEMON>
  +
  +
  +=head3 C<Apache::MPMQ_MAX_DAEMONS>
  +
  +
  +
  +
  +
  +
   =head2 C<:options>
   
     use Apache::Const -compile => qw(:options);
  
  
  
  1.27      +3 -2      modperl-docs/src/docs/2.0/user/coding/coding.pod
  
  Index: coding.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/coding/coding.pod,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- coding.pod	8 Aug 2003 00:46:55 -0000	1.26
  +++ coding.pod	1 Dec 2003 17:56:30 -0000	1.27
  @@ -75,10 +75,11 @@
   
   If the code needs to behave differently depending on whether it's
   running under one of the threaded MPMs, or not, the
  -C<Apache::MPM_IS_THREADED> constant can be used. For example:
  +C<Apache::MPM-E<gt>is_threaded> method can be used. For example:
   
  +  use Apache::MPM ();
     use APR::OS ();
  -  if (Apache::MPM_IS_THREADED) {
  +  if (Apache::MPM->is_threaded) {
         my $id = APR::OS::thread_current();
         print "current thread id: $id";
     }
  
  
  
  1.25      +2 -1      modperl-docs/src/docs/2.0/user/handlers/http.pod
  
  Index: http.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/handlers/http.pod,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- http.pod	14 Oct 2003 18:36:56 -0000	1.24
  +++ http.pod	1 Dec 2003 17:56:30 -0000	1.25
  @@ -1345,8 +1345,9 @@
   names across threads and processes:
   
     sub unique_id {
  +      require Apache::MPM;
         require APR::OS;
  -      return Apache::MPM_IS_THREADED 
  +      return Apache::MPM->is_threaded
             ? "$$." . ${ APR::OS::thread_current() }
             : $$;
     }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org


Mime
View raw message