summaryrefslogtreecommitdiff
path: root/regen/reentr.pl
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-03-16 11:52:59 -0600
committerKarl Williamson <khw@cpan.org>2020-03-18 18:05:49 -0600
commit6f16cbe7e9bc8235fe582dd816ccae057aff9bbd (patch)
tree2584cd9b6185fbb6d164881484c19120fb180cf2 /regen/reentr.pl
parent02af4629d48da29a881a22a61bad14e161fcf8de (diff)
downloadperl-6f16cbe7e9bc8235fe582dd816ccae057aff9bbd.tar.gz
reentr.h: Add clarifying comment
Diffstat (limited to 'regen/reentr.pl')
-rw-r--r--regen/reentr.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/regen/reentr.pl b/regen/reentr.pl
index 2ca40ea501..49c6ee816a 100644
--- a/regen/reentr.pl
+++ b/regen/reentr.pl
@@ -68,8 +68,10 @@ print $h <<EOF;
/* If compiling for a threaded perl, we will macro-wrap the system/library
* interfaces (e.g. getpwent()) which have threaded versions
* (e.g. getpwent_r()), which will handle things correctly for
- * the Perl interpreter, but otherwise (for XS) the wrapping does
- * not take place. See L<perlxs/Thread-aware system interfaces>.
+ * the Perl interpreter. This is done automatically for the perl core and
+ * extensions, but not generally for XS modules unless they
+ * #define PERL_REENTRANT
+ * See L<perlxs/Thread-aware system interfaces>.
*/
#ifndef PERL_REENTR_API