01-07-09 17.36, skrev Jenda Krynicky p� [EMAIL PROTECTED] f�ljande:

>> 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).

They share the optree, they share filehandles, but you perl_alloc they share
nothing than the filehandles

forks don't share anything except what it is shared at the time of fork

artur

Reply via email to