diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-11-15 18:47:34 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-11-15 18:47:34 +0000 |
commit | 8d5630125a4c2a8f0b9bf3e77e79c546fb5c5a6d (patch) | |
tree | 79a2007970c37d708bda25ae6ece44fe373dfcd4 /perlapi.c | |
parent | ce2f7c3be671853dd8e435baa8ec8d4453b3bb86 (diff) | |
download | perl-8d5630125a4c2a8f0b9bf3e77e79c546fb5c5a6d.tar.gz |
add a synchronous stub fork() for USE_ITHREADS to prove that a simple
C<if (fork()) { print "parent" } else { print "child" }> works on
Windows (incidentally running a cloned^2 interpreter :)
p4raw-id: //depot/perl@4589
Diffstat (limited to 'perlapi.c')
-rw-r--r-- | perlapi.c | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -4857,6 +4857,27 @@ Perl_boot_core_xsutils(pTHXo) } #if defined(USE_ITHREADS) +#undef Perl_cx_dup +PERL_CONTEXT* +Perl_cx_dup(pTHXo_ PERL_CONTEXT* cx, I32 ix, I32 max) +{ + return ((CPerlObj*)pPerl)->Perl_cx_dup(cx, ix, max); +} + +#undef Perl_si_dup +PERL_SI* +Perl_si_dup(pTHXo_ PERL_SI* si) +{ + return ((CPerlObj*)pPerl)->Perl_si_dup(si); +} + +#undef Perl_ss_dup +ANY* +Perl_ss_dup(pTHXo_ ANY* ss, I32 ix, I32 max) +{ + return ((CPerlObj*)pPerl)->Perl_ss_dup(ss, ix, max); +} + #undef Perl_he_dup HE* Perl_he_dup(pTHXo_ HE* e, bool shared) |