delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
Subject: | Re: Setting termios VMIN > 0 and VTIME > 0 on non blocking file |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
References: | <9e4c6428-59de-df07-9e33-44ba95d5497f AT gmail DOT com> |
<5be321d9-10c2-0853-b716-2abd10a4db3a AT SystematicSw DOT ab DOT ca> | |
From: | Norton Allen <allen AT huarp DOT harvard DOT edu> |
Message-ID: | <da57d6cd-b048-8906-1346-d62a5e519d86@huarp.harvard.edu> |
Date: | Wed, 11 Mar 2020 21:01:34 -0400 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 |
Thunderbird/68.5.0 | |
MIME-Version: | 1.0 |
In-Reply-To: | <5be321d9-10c2-0853-b716-2abd10a4db3a@SystematicSw.ab.ca> |
X-Spam-Status: | No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, |
SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 | |
X-Spam-Checker-Version: | SpamAssassin 3.4.2 (2018-09-13) on |
server2.sourceware.org | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.29 |
List-Id: | Cygwin mailing list <cygwin.cygwin.com> |
List-Unsubscribe: | <http://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <http://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <http://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
Errors-To: | cygwin-bounces AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces AT cygwin DOT com> |
On 3/11/2020 5:55 PM, Brian Inglis wrote: > VMIN > 0 || VTIME > 0 implies blocking; O_NONBLOCK implies SIGIO delivery; see: While I agree with everything else you said there, I don't believe either of these are true, unless by 'implies' you mean that's how you usually do it. I have done a lot of work with non-zero VMIN and/or VTIME in non-blocking situations, and I've done non-blocking with different approaches to delivery. -- ============================================================= Norton Allen (he/him/his) Software Engineer Harvard University School of Engineering and Applied Sciences 12 Oxford St., Link Bldg. (Office 282) Cambridge, MA 02138 Phone: (617) 998-5553 ============================================================= -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |