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);
};
- Structuring perl's guts (Or: If a function is removed from ... Dan Sugalski
- David L. Nicol
