Re: Lexical Object copied to new thread

[email protected] (Dave Mitchell) Sun, 23 Dec 2007 20:29:51 +0000
Newsgroups perl.ithreads
Message-ID <[email protected]>
On Sun, Dec 23, 2007 at 10:29:55PM +0200, Shmuel Fomberg wrote:
> Anyway, my question is that $x is a lexical inside run_test, and as much as
> I understood it was not suppose to be copied to the new thread. But it is.

In a new thread, *everything* is copied, apart from the calling stacks.

-- 
SCO - a train crash in slow motion