Chaim Frenkel <[EMAIL PROTECTED]> writes:
>>>>>> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
>
>DS> At 10:42 PM 8/1/00 -0400, Chaim Frenkel wrote:
>>> We may need that all variables are by default lexical.
>>> 
>>> Without the explicit declaration of cross-thread visible variables, doing
>>> threading may well be difficult (on one's fingers)
>
>DS> The two things are orthogonal. Threading doesn't place any sort of 
>DS> requirements on lexical or package variable visibility. We could do a deep 
>DS> clone ala 5.6.0's ITHREADS, or a partial clone, or start new threads with 
>DS> empty package stashes. Or any (or all) combinations of the above.
>
>
>Please explain what the utility of having unshared variables?

Thread local storage - is often what you want most of. 

>I might
>as well just fork().

That assumes you can fork() ...

>
><chaim>
-- 
Nick Ing-Simmons

Reply via email to