Re: [PATCH] [phil@fifi.org: Bug#86964: One more method ( patch) for libapache-mod-perl]

2001-05-02 Thread Daniel Jacobowitz

On Tue, May 01, 2001 at 11:15:30AM -0700, Doug MacEachern wrote:
 On Sun, 4 Mar 2001, Daniel Jacobowitz wrote:
 
  Here's another reasonable-looking patch from Philippe Troin; it exposes
  child_num() in Apache::Connection.
 
 i hesitate adding this to Connection.xs at this point since it is 1.3
 specific.  but i would be happy to include it as an new method
 Apache::Scoreboard.

Eh?  mod_perl 1.25 doesn't have a Scoreboard.xs...  Are you talking
about 2.0?

-- 
Daniel Jacobowitz   Debian GNU/Linux Developer
Monta Vista Software  Debian Security Team



Re: [PATCH] [phil@fifi.org: Bug#86964: One more method ( patch)for libapache-mod-perl]

2001-05-02 Thread Stas Bekman

On Wed, 2 May 2001, Daniel Jacobowitz wrote:

 On Tue, May 01, 2001 at 11:15:30AM -0700, Doug MacEachern wrote:
  On Sun, 4 Mar 2001, Daniel Jacobowitz wrote:
 
   Here's another reasonable-looking patch from Philippe Troin; it exposes
   child_num() in Apache::Connection.
 
  i hesitate adding this to Connection.xs at this point since it is 1.3
  specific.  but i would be happy to include it as an new method
  Apache::Scoreboard.

 Eh?  mod_perl 1.25 doesn't have a Scoreboard.xs...  Are you talking
 about 2.0?

it's on CPAN: Apache::Scoreboard

_
Stas Bekman  JAm_pH --   Just Another mod_perl Hacker
http://stason.org/   mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/





Re: [PATCH] [phil@fifi.org: Bug#86964: One more method ( patch) for libapache-mod-perl]

2001-05-02 Thread Daniel Jacobowitz

On Thu, May 03, 2001 at 11:10:59AM +0800, Stas Bekman wrote:
 On Wed, 2 May 2001, Daniel Jacobowitz wrote:
 
  On Tue, May 01, 2001 at 11:15:30AM -0700, Doug MacEachern wrote:
   On Sun, 4 Mar 2001, Daniel Jacobowitz wrote:
  
Here's another reasonable-looking patch from Philippe Troin; it exposes
child_num() in Apache::Connection.
  
   i hesitate adding this to Connection.xs at this point since it is 1.3
   specific.  but i would be happy to include it as an new method
   Apache::Scoreboard.
 
  Eh?  mod_perl 1.25 doesn't have a Scoreboard.xs...  Are you talking
  about 2.0?
 
 it's on CPAN: Apache::Scoreboard

Oh, duh.  Thanks.

-- 
Daniel Jacobowitz   Debian GNU/Linux Developer
Monta Vista Software  Debian Security Team



Re: [PATCH] [phil@fifi.org: Bug#86964: One more method ( patch)for libapache-mod-perl]

2001-05-01 Thread Doug MacEachern

On Sun, 4 Mar 2001, Daniel Jacobowitz wrote:

 Here's another reasonable-looking patch from Philippe Troin; it exposes
 child_num() in Apache::Connection.

i hesitate adding this to Connection.xs at this point since it is 1.3
specific.  but i would be happy to include it as an new method
Apache::Scoreboard.

--- Scoreboard.xs~  Mon Jun  5 11:58:01 2000
+++ Scoreboard.xs   Tue May  1 11:10:24 2001
@@ -392,3 +392,15 @@
 
 OUTPUT:
 RETVAL
+
+MODULE = Apache::Scoreboard   PACKAGE = Apache::Connection
+
+int
+child_num(conn)
+Apache::Connection conn
+
+CODE:
+RETVAL = conn-child_num;
+
+OUTPUT:
+RETVAL





Re: [PATCH] [phil@fifi.org: Bug#86964: One more method ( patch)for libapache-mod-perl]

2001-03-05 Thread Stas Bekman



 Here's another reasonable-looking patch from Philippe Troin; it exposes
 child_num() in Apache::Connection.

Apache::Scoreboard has all the scoreboard related methods.

I use it in Apache::VMonitor and Apache::Watchdog::RunAway.

_
Stas Bekman  JAm_pH --   Just Another mod_perl Hacker
http://stason.org/   mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/