summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2010-09-27 21:42:13 -0700
committerFather Chrysostomos <sprout@cpan.org>2010-09-27 22:20:27 -0700
commit89cf1afaed1c3e82ca93b9fb348b8e5cb995623f (patch)
tree1fc648d5c7a21da68bc648ab713bc51fb07e4ab9
parent07577ec1ef50e76463d80a4545e81fba69adae1e (diff)
downloadperl-89cf1afaed1c3e82ca93b9fb348b8e5cb995623f.tar.gz
Update the dirhandle entry in thread.pm’s docs
-rw-r--r--dist/threads/lib/threads.pm10
1 files changed, 8 insertions, 2 deletions
diff --git a/dist/threads/lib/threads.pm b/dist/threads/lib/threads.pm
index e98fb50d13..a3c5f841c0 100644
--- a/dist/threads/lib/threads.pm
+++ b/dist/threads/lib/threads.pm
@@ -1007,8 +1007,14 @@ discouraged.
=item Open directory handles
-Spawning threads with open directory handles (see
-L<opendir|perlfunc/"opendir DIRHANDLE,EXPR">) will crash the interpreter.
+In perl 5.14.0 and higher, if your system does not support the C<fchdir> C
+function, directory handles (see
+L<opendir|perlfunc/"opendir DIRHANDLE,EXPR">) will not be copied to new
+threads. You can use the C<d_fchdir> variable in L<Config.pm|Config> to
+determine whether your system supports it.
+
+In prior perl versions, spawning threads with open directory handles would
+crash the interpreter.
L<[perl #75154]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=75154>
=item Perl Bugs and the CPAN Version of L<threads>