Dan Sugalski wrote:

> If it's decreed that fork is
> just there without having to do something special, then it will be no
> matter what magic needs to be done.


        package refimpl::builtins;

        sub fork {
                $refimpl::threads::deepcopy_target = new refimpl::perprocglobaltop;
                push @main::threads, refimpl::threads::deepcopy( @main::threads);
        };

Reply via email to