]> git.vpit.fr Git - perl/modules/Test-Leaner.git/blobdiff - lib/Test/Leaner.pm
Document THREADSAFE
[perl/modules/Test-Leaner.git] / lib / Test / Leaner.pm
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.