develooper Front page | perl.perl5.porters | Postings from August 2013

Re: runperl() exit oddity

Thread Previous | Thread Next
Father Chrysostomos
August 9, 2013 03:25
Re: runperl() exit oddity
Message ID:
Steve Hay wrote:
> I have bisected this and found that this is the culprit:
> [perl #117855] Store CopFILEGV in a pad under ithreads

That commit is flawed by design.  I did not really think it through.
Each cop holds a reference count on the item in the filegv pad.
But if the cop is shared between threads, then how on earth do you
manage that?

If nobody comes up with some amazing inspiration any time soon, I will
go ahead and revert it.

The real fix will be a separate shared string table shared between
threads.  That would be a lot more work.

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