develooper Front page | perl.perl5.porters | Postings from March 2014

[perl #38723] Backticks don't work in Win32 multithreaded perl

Thread Previous | Thread Next
From:
Tony Cook via RT
Date:
March 24, 2014 04:40
Subject:
[perl #38723] Backticks don't work in Win32 multithreaded perl
Message ID:
rt-4.0.18-9616-1395636025-202.38723-15-0@perl.org
On Tue May 28 23:47:56 2013, bulk88 wrote:
> 
> Turns out I was wrong. There is a bug here. In my output I posted
> above
> I didn't notice iteration "3" and "4" only appeared once. _pioinfo is
> a
> symbol that is a pointer to an array of ioinfo structs within the MS
> CRT. You can't just acquire the CS in the pioinfo, there is another
> member that needs to be checked.
> http://perl5.git.perl.org/perl.git/commitdiff/9b1f18150adf6630261f4d4a81b0a75ba6abaf97
> is where Perl's use of _pioinfo was removed. There already is a
> serialization lock in win32_popen "    OP_REFCNT_LOCK;". Why isn't it
> "working"?

It's possible I've fixed this in f06c882585eac59ec68dbf93c87659cb62a24000 which avoids modifying the global stdin/out handles when creating a popen() process.

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=38723

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