develooper Front page | perl.ithreads | Postings from December 2007

Re: Lexical Object copied to new thread

Thread Previous | Thread Next
Dave Mitchell
December 23, 2007 12:34
Re: Lexical Object copied to new thread
Message ID:
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

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About