develooper Front page | perl.ithreads | Postings from May 2008

Re: p5p summary: Improving threads::shared ?

Thread Previous
From:
Jerry D. Hedden
Date:
May 8, 2008 07:17
Subject:
Re: p5p summary: Improving threads::shared ?
Message ID:
1ff86f510805080717t1e1ab799l4d32bf79d4436d64@mail.gmail.com
>  For any existing apps (eg, Data::Dumper) that want to
>  deal with it, they could always fallback to detecting
>  something as shared and saving its id (ie, the shared
>  interpretter version's address) to detect cycles. Not
>  pretty, but effective.

I looked into fixing Data::Dumper for this.  The circular
reference checking is done both in Perl (for the pure-Perl
version) and in XS (the usual version).  It'll take me
awhile to figure out how to do it in XS.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About