diff options
author | Karl Williamson <khw@cpan.org> | 2020-03-16 11:52:59 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-03-18 18:05:49 -0600 |
commit | 6f16cbe7e9bc8235fe582dd816ccae057aff9bbd (patch) | |
tree | 2584cd9b6185fbb6d164881484c19120fb180cf2 | |
parent | 02af4629d48da29a881a22a61bad14e161fcf8de (diff) | |
download | perl-6f16cbe7e9bc8235fe582dd816ccae057aff9bbd.tar.gz |
reentr.h: Add clarifying comment
-rw-r--r-- | reentr.h | 6 | ||||
-rw-r--r-- | regen/reentr.pl | 6 |
2 files changed, 8 insertions, 4 deletions
@@ -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 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 |