This keeps the ptr-table table around after the thread has been created.
This has been on for user threads for a while now, but not for
Windows forks. Turns out that Variable::Magic relies on the table still
being there, so crashes under windows forks. This increases memory usage
per fork, but stops things crashing. Sigh.
[perl #66158]
}
h = new CPerlHost(*(CPerlHost*)w32_internal_host);
PerlInterpreter *new_perl = perl_clone_using((PerlInterpreter*)aTHX,
- CLONEf_COPY_STACKS,
+ CLONEf_COPY_STACKS
+ | CLONEf_KEEP_PTR_TABLE,
h->m_pHostperlMem,
h->m_pHostperlMemShared,
h->m_pHostperlMemParse,