Author: tim.bunce
Date: Wed Jan 28 13:55:40 2009
New Revision: 676
Modified:
trunk/lib/Devel/NYTProf/Apache.pm
Log:
Save some headaches for windows users trying to profile mod_perl apps.
Modified: trunk/lib/Devel/NYTProf/Apache.pm
==============================================================================
--- trunk/lib/Devel/NYTProf/Apache.pm (original)
+++ trunk/lib/Devel/NYTProf/Apache.pm Wed Jan 28 13:55:40 2009
@@ -33,6 +33,8 @@
? 1
: 0;
+# https://rt.cpan.org/Ticket/Display.html?id=42862
+die "Threads not supported" if $^O eq 'MSWin32';
sub child_init {
DB::enable_profile() unless $ENV{NYTPROF} =~ m/\b start = (?: no | end
) \b/x;
@@ -116,6 +118,11 @@
PerlModule Devel::NYTProf::Apache
</IfDefine>
+
+=head1 LIMITATIONS
+
+Profiling mod_perl on Windows is not supported because NYTProf currently
+doesn't support threads.
=head1 SEE ALSO
--~--~---------~--~----~------------~-------~--~----~
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.
Group hosted at: http://groups.google.com/group/develnytprof-dev
Project hosted at: http://perl-devel-nytprof.googlecode.com
CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf
To post, email: [email protected]
To unsubscribe, email: [email protected]
-~----------~----~----~----~------~----~------~--~---