summaryrefslogtreecommitdiff
path: root/ext/threads/threads.pm
diff options
context:
space:
mode:
Diffstat (limited to 'ext/threads/threads.pm')
-rwxr-xr-xext/threads/threads.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/threads/threads.pm b/ext/threads/threads.pm
index 5fcbc9fd5c..337aaf5027 100755
--- a/ext/threads/threads.pm
+++ b/ext/threads/threads.pm
@@ -250,8 +250,19 @@ When you return an object the entire stash that the object is blessed
as well. This will lead to a large memory usage. The ideal situation
would be to detect the original stash if it existed.
+=item Creating threads inside BEGIN blocks
+
+Creating threads inside BEGIN blocks (or during the compilation phase
+in general) does not work. (In Windows, trying to use fork() inside
+BEGIN blocks is an equally losing proposition, since it has been
+implemented in very much the same way as threads.)
+
=item PERL_OLD_SIGNALS are not threadsafe, will not be.
+If your Perl has been built with PERL_OLD_SIGNALS (one has
+to explicitly add that symbol to ccflags, see C<perl -V>),
+signal handling is not threadsafe.
+
=back
=head1 AUTHOR and COPYRIGHT