From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: pipe handling errors
Date: Wed, 16 Jul 2014 14:28:00 -0000 [thread overview]
Message-ID: <20140716142812.GA2084@ednor.casa.cgf.cx> (raw)
In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A702E7ECA06@USA7109MB022.na.xerox.net>
On Wed, Jul 16, 2014 at 12:44:25PM +0000, Nellis, Kenneth wrote:
>From: Christopher Faylor
>>On Tue, Jul 15, 2014 at 06:05:27PM -0400, Christopher Faylor wrote:
>>>Yes, I saw that, but I can't duplicate the problem with that command sequence.
>>
>>I took a stab at another change which may ameliorate the problem. Please try the latest snapshot.
>
>Indeed, with this snapshot I was not able to reproduce the problem. Thank you!
>
>Cygwin64> uname -srvmo
>CYGWIN_NT-6.1 1.7.31s(0.272/5/3) 20140716 11:15:29 x86_64 Cygwin
Good to hear. Thanks for confirming.
For the curious, I increased the size of the signal pipe buffer. I
should have done that when I made signal pipes "nowait" to work around
problems with gdb a couple of releases ago. I also made the signal
sender retry if WriteFile returns success but the number of bytes sent
was not what was requested (since these are message-style pipes the
size should always be either zero or correct).
Increasing the size of the buffer should have been enough to fix the
problem but, when possible, I like to use two forms of protection when I
fix a bug.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2014-07-16 14:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-14 17:40 Nellis, Kenneth
2014-07-15 9:49 ` Corinna Vinschen
2014-07-15 13:51 ` Nellis, Kenneth
2014-07-15 15:45 ` Corinna Vinschen
2014-07-15 18:53 ` Nellis, Kenneth
2014-07-15 19:17 ` Nellis, Kenneth
2014-07-15 19:36 ` Nellis, Kenneth
2014-07-15 19:52 ` Christopher Faylor
2014-07-15 20:40 ` Nellis, Kenneth
2014-07-15 22:05 ` Christopher Faylor
2014-07-15 22:27 ` Christopher Faylor
2014-07-16 12:44 ` Nellis, Kenneth
2014-07-16 14:28 ` Christopher Faylor [this message]
2014-07-16 17:36 Ti Strga
2014-07-17 8:25 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140716142812.GA2084@ednor.casa.cgf.cx \
--to=cgf-use-the-mailinglist-please@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).