Re: p5p summary: Improving threads::shared ?

[email protected] (Dean Arnold) Thu, 08 May 2008 08:53:54 -0700
Newsgroups perl.ithreads
Message-ID <[email protected]>
Jerry D. Hedden wrote:
>>  perhaps we could just provide a function:
>>
>>     $y = shared_clone($x);
> 
> What name should this function have?
> 
>     shared_clone()
>     clone()
>     shared_copy()
>     copy()
>     make_shared()
> 
> Or something else?
> 

I'd vote against clone() or copy(), as they're too
general. Otherwise, I personally have no opinion,
tho clone has come to mean this sort of deepcopy
(see the various Clone modules), so I suppose
shared_clone() may make sense.

- Dean