diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-03-12 12:23:55 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-03-12 12:23:55 +0000 |
commit | 711e8db2defd635d78bc9d3e168dbd0a8a3b89fa (patch) | |
tree | 414b704b85c5547624f20317b801e506c48ac4ea /pp.h | |
parent | 1d791a44a46c93b2808774b83d9ca1f346372145 (diff) | |
download | perl-711e8db2defd635d78bc9d3e168dbd0a8a3b89fa.tar.gz |
We need mutex protection in PerlIOStdio_close() for the duration of
holding our true love file handle open, to stop anything else
temporarily using it for a quick dup() fling, and then closing the
file handle underneath us.
I suspect that the lack of this protection was the cause of the threads
free.t and blocks.t failures on OS X on 5.8.x, where usefaststdio is
the default, and PerlIO is unable to "invalidate" the FILE *.
p4raw-id: //depot/perl@33492
Diffstat (limited to 'pp.h')
0 files changed, 0 insertions, 0 deletions