perl-docs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evan A. Zacks"...@zacks.org>
Subject Re: [patch] modperl 2 docs (APR::OS)
Date Sat, 02 Jul 2005 01:04:54 GMT
Patch is inline this time. Sorry about that.

Thanks,
-E

####

Index: src/docs/2.0/user/handlers/http.pod
===================================================================
--- src/docs/2.0/user/handlers/http.pod	(revision 208781)
+++ src/docs/2.0/user/handlers/http.pod	(working copy)
@@ -1562,7 +1562,7 @@
       require Apache2::MPM;
       require APR::OS;
       return Apache2::MPM->is_threaded
-          ? "$$." . ${ APR::OS::thread_current() }
+          ? "$$." . ${ APR::OS::current_thread_id() }
           : $$;
   }
 
Index: src/docs/2.0/user/coding/coding.pod
===================================================================
--- src/docs/2.0/user/coding/coding.pod	(revision 208781)
+++ src/docs/2.0/user/coding/coding.pod	(working copy)
@@ -178,7 +178,7 @@
   use Apache2::MPM ();
   if (Apache2::MPM->is_threaded) {
       require APR::OS;
-      my $tid = APR::OS::thread_current();
+      my $tid = APR::OS::current_thread_id();
       print "current thread id: $tid (pid: $$)";
   }
   else {

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


Mime
View raw message