diff options
author | Lukas Mai <l.mai@web.de> | 2017-11-09 00:59:53 +0100 |
---|---|---|
committer | Lukas Mai <l.mai@web.de> | 2017-11-11 11:16:31 +0100 |
commit | 1e5c5f69249acd964e640650e65901f390085022 (patch) | |
tree | 5017b82a68c4844c103c7047e74cbb1128a909bc /perlvars.h | |
parent | a3371546646b4c0f722f2659beac614649d6cfd5 (diff) | |
download | perl-1e5c5f69249acd964e640650e65901f390085022.tar.gz |
add wrap_keyword_plugin function (RT #132413)
Diffstat (limited to 'perlvars.h')
-rw-r--r-- | perlvars.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perlvars.h b/perlvars.h index b184b89419..472ae2dbb9 100644 --- a/perlvars.h +++ b/perlvars.h @@ -224,9 +224,15 @@ at a chain of handler functions, all of which have an opportunity to handle keywords, and only the last function in the chain (built into the Perl core) will normally return C<KEYWORD_PLUGIN_DECLINE>. +For thread safety, modules should not set this variable directly. +Instead, use the function L</wrap_keyword_plugin>. + =cut */ +#if defined(USE_ITHREADS) +PERLVAR(G, keyword_plugin_mutex, perl_mutex) /* Mutex for PL_keyword_plugin */ +#endif PERLVARI(G, keyword_plugin, Perl_keyword_plugin_t, Perl_keyword_plugin_standard) PERLVARI(G, op_sequence, HV *, NULL) /* dump.c */ |