summaryrefslogtreecommitdiff
path: root/reentr.h
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 /reentr.h
parent02af4629d48da29a881a22a61bad14e161fcf8de (diff)
downloadperl-6f16cbe7e9bc8235fe582dd816ccae057aff9bbd.tar.gz
reentr.h: Add clarifying comment
Diffstat (limited to 'reentr.h')
-rw-r--r--reentr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/reentr.h b/reentr.h
index 34e3c22315..51e19b8f23 100644
--- a/reentr.h
+++ b/reentr.h
@@ -18,8 +18,10 @@
/* 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