This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
parts/inc/threads: Add hints
authorKarl Williamson <khw@cpan.org>
Tue, 6 Aug 2019 04:47:11 +0000 (22:47 -0600)
committerNicolas R <atoomic@cpan.org>
Fri, 27 Sep 2019 22:51:28 +0000 (16:51 -0600)
(cherry picked from commit 5bc28160c8a5ea859054713667f051e47e46802d)
Signed-off-by: Nicolas R <atoomic@cpan.org>
dist/Devel-PPPort/parts/inc/threads

index 9a8f6ac..64f22e9 100644 (file)
@@ -21,12 +21,26 @@ dTHXR
 __UNDEFINED__  dTHR       dNOOP
 
 __UNDEFINED__  dTHX       dNOOP
 __UNDEFINED__  dTHR       dNOOP
 
 __UNDEFINED__  dTHX       dNOOP
+/* Hint: dTHX
+
+  For pre-5.6.0 thread compatibility, instead use dTHXR, available only through
+  ppport.h */
+
 __UNDEFINED__  dTHXa(x)   dNOOP
 
 __UNDEFINED__  pTHX       void
 __UNDEFINED__  pTHX_
 __UNDEFINED__  aTHX
 __UNDEFINED__  dTHXa(x)   dNOOP
 
 __UNDEFINED__  pTHX       void
 __UNDEFINED__  pTHX_
 __UNDEFINED__  aTHX
+/* Hint: aTHX
+
+  For pre-5.6.0 thread compatibility, instead use aTHXR, available only through
+  ppport.h */
+
 __UNDEFINED__  aTHX_
 __UNDEFINED__  aTHX_
+/* Hint: aTHX_
+
+  For pre-5.6.0 thread compatibility, instead use aTHXR_, available only
+  through ppport.h */
 
 #if { VERSION < 5.6.0 }
 #  ifdef USE_THREADS
 
 #if { VERSION < 5.6.0 }
 #  ifdef USE_THREADS