develooper Front page | perl.perl5.porters | Postings from May 2012

[perl #112780] Bleadperl v5.15.6-409-gb659727 breaks MSCHWERN/Test-Simple-1.005000_005.tar.gz

Thread Previous | Thread Next
From:
Michael G Schwern via RT
Date:
May 7, 2012 13:51
Subject:
[perl #112780] Bleadperl v5.15.6-409-gb659727 breaks MSCHWERN/Test-Simple-1.005000_005.tar.gz
Message ID:
rt-3.6.HEAD-4610-1336322888-442.112780-15-0@perl.org
This one is pretty severe for Test::More.  I had a very hard time
finding a way to share filehandles across threads that was backwards
compatible.  If this doesn't work in 5.16, I'm kinda sunk.

What I'm doing is pretty hacky, so there might be a way to fix it at my
end.  Here's the code and test in question for somebody who understands
threads to evaluate.
https://github.com/schwern/test-more/blob/Test-Builder1.5/lib/TB2/ThreadSafeFilehandleAccessor.pm
https://github.com/schwern/test-more/blob/Test-Builder1.5/t/Streamer/ThreadSafeFilehandleAccessor.t

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=112780

Thread Previous | Thread Next


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