Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-02-08 19:19:58 +0300
committerChristopher Faylor <me@cgf.cx>2005-02-08 19:19:58 +0300
commitf1256beb92626fd91843da95548625d9ac7114c5 (patch)
tree5c4d4a2e9c88b801d10799362bb002b1bf90ffa2 /winsup/cygwin/pipe.cc
parent1159e0fd94bd0fffdd9cc64d0e7daa5fcf1ad52f (diff)
* pipe.cc (fhandler_pipe::read): Remove hold over from old read_state
implementation.
Diffstat (limited to 'winsup/cygwin/pipe.cc')
-rw-r--r--winsup/cygwin/pipe.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc
index ee4b7ad6f..eab600aff 100644
--- a/winsup/cygwin/pipe.cc
+++ b/winsup/cygwin/pipe.cc
@@ -186,7 +186,6 @@ fhandler_pipe::read (void *in_ptr, size_t& in_len)
else
{
pipeargs pi = {dynamic_cast<fhandler_base *>(this), in_ptr, &in_len};
- ResetEvent (read_state);
cygthread *th = new cygthread (read_pipe, &pi, "read_pipe");
if (th->detach (read_state) && !in_len)
in_len = (size_t) -1; /* received a signal */