> 01-07-09 16.55, skrev Jenda Krynicky pĺ [EMAIL PROTECTED] f÷ljande:
>
> >> I meant real fork on a real operating system ;)
> >
> > Well then I would not get a thread but a process :-)
>
> The difference between an empty thread that isn't using any of its
> process adress space and a new process is something I fail to see!

I don't know how much do two iThreads in a process share
assuming no :shared or :solar or whatever variables.
But (again assuming no :shared) I don't expect it to share
more if you create it by fork() and thus copy the parent thread data
and if you create a new empty one.

All I want is to skip the cloning (plus giving the new thread a script
to execute).

> >> I meant it more like a joke, I want to do something that only
> >> clones part of the space or nothing. I will reply soon when I got
> >> time.
> >>
> >> Artur
> >
> > Oops :-)
> >
> > Thanks, Jenda
>
> thread->clone(\%foo::); clone everything under %foo;
>
> thread->clone(""); nothing to clone
>
> thread->clone(""); is very simple to implment just perl_alloc instead
> of perl_clone() ;)
>
> Artur

I'll look into this.

Thanks, Jenda

== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
: What do people think?
What, do people think?  :-)
             -- Larry Wall in <[EMAIL PROTECTED]>

Reply via email to