summaryrefslogtreecommitdiff
path: root/embedvar.h
diff options
context:
space:
mode:
authorStefan Seifert <nine@detonation.org>2019-10-30 16:23:01 +0100
committerTony Cook <tony@develop-help.com>2019-12-12 11:35:20 +1100
commite6c7056ba6f1dca6d04e6d36515a0ffc3a5ec02a (patch)
tree76f720186b490fb6d156db4048883af91258e4af /embedvar.h
parent91e49152f27fa00e0cb6d477928f8098a9367c05 (diff)
downloadperl-e6c7056ba6f1dca6d04e6d36515a0ffc3a5ec02a.tar.gz
Move PL_check to the interp vars to fix threading issues
Fixes issue #14816
Diffstat (limited to 'embedvar.h')
-rw-r--r--embedvar.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/embedvar.h b/embedvar.h
index 63a741edb6..04c2d6b2e6 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -88,6 +88,7 @@
#define PL_body_roots (vTHX->Ibody_roots)
#define PL_bodytarget (vTHX->Ibodytarget)
#define PL_breakable_sub_gen (vTHX->Ibreakable_sub_gen)
+#define PL_check (vTHX->Icheck)
#define PL_checkav (vTHX->Icheckav)
#define PL_checkav_save (vTHX->Icheckav_save)
#define PL_chopset (vTHX->Ichopset)
@@ -379,8 +380,6 @@
#define PL_GC_locale_obj (my_vars->GC_locale_obj)
#define PL_appctx (my_vars->Gappctx)
#define PL_Gappctx (my_vars->Gappctx)
-#define PL_check (my_vars->Gcheck)
-#define PL_Gcheck (my_vars->Gcheck)
#define PL_check_mutex (my_vars->Gcheck_mutex)
#define PL_Gcheck_mutex (my_vars->Gcheck_mutex)
#define PL_csighandler1p (my_vars->Gcsighandler1p)