]> git.vpit.fr Git - perl/modules/Test-Leaner.git/commitdiff
Document THREADSAFE
authorVincent Pit <vince@profvince.com>
Tue, 28 Dec 2010 11:31:14 +0000 (12:31 +0100)
committerVincent Pit <vince@profvince.com>
Tue, 28 Dec 2010 14:33:06 +0000 (15:33 +0100)
lib/Test/Leaner.pm
t/92-pod-coverage.t

index bc62c0c54fef6228b760371bcafb425cb47fe642..7fe001a248b394eec4daa55d02b9fdbe95432190 100644 (file)
@@ -579,6 +579,11 @@ sub diag_stream (;*) {
 
 diag_stream *STDERR;
 
+=head2 C<THREADSAFE>
+
+This constant evaluates to true if and only if L<Test::Leaner> is thread-safe, i.e. when this version of C<perl> is at least 5.8, has been compiled with C<useithreads> defined, and L<threads> has been loaded B<before> L<Test::Leaner>.
+In that case, it also needs a working L<threads::shared>.
+
 =head1 DEPENDENCIES
 
 L<perl> 5.6.
index 8aa1ace070fd6ac9607b7b0b549ce11c660f363f..c817d13a8754045ca8868695aec3d52510c800d1 100644 (file)
@@ -17,7 +17,6 @@ all_pod_coverage_ok({
  also_private => [ qw<
   NO_PLAN
   SKIP_ALL
-  THREADSAFE
   carp
   croak
   is_like