diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-02-24 11:47:08 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-05-24 15:15:26 +0100 |
commit | f7abe70be985cb9179c2e728a593cb8a5c8e049d (patch) | |
tree | caa50831f19cd6adb6b56628295289b526e4acb1 /global.sym | |
parent | a09252eb79f700c93c37322c1ad831cf3193571b (diff) | |
download | perl-f7abe70be985cb9179c2e728a593cb8a5c8e049d.tar.gz |
Abstract *correct* initialisation of CLONE_PARAMS into Perl_clone_params_new().
As it allocates memory dynamically, add Perl_clone_params_del(). This will
allow CLONE_PARAMS to be expand in future in a source and binary compatible
fashion.
These implementations of Perl_clone_params_new()/Perl_clone_params_del() jump
through hoops to remain source and binary compatible, in particular, by not
assuming that the structure member is present and correctly initialised. Hence
they should be suitable for inclusion into Devel::PPPort.
Convert threads.xs to use them, resolving RT #73046.
Diffstat (limited to 'global.sym')
-rw-r--r-- | global.sym | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/global.sym b/global.sym index 25e43c971a..8861fca218 100644 --- a/global.sym +++ b/global.sym @@ -823,4 +823,6 @@ Perl_sys_init Perl_sys_init3 Perl_sys_term Perl_fetch_cop_label +Perl_clone_params_new +Perl_clone_params_del # ex: set ro: |