X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=Al2PuOtf8QBnouJd Fy4l8BIoIgavtbzPoELbmcea+Ch/T3/g0xbb4+6zANiIxIxZcKxXYlqygpDfy9Q6 TeqLqO/B+JtO1QL9spjiXTKbwiDHc+TgYYFDFlcP5xrdlQSf+XspmYQzTAdn5Psq sO7QACRgpwhKY0KzMjvW1No4X5I= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=Ij3lPIpadrZYfHaZ7syNgA A9qNQ=; b=yUuRgyjg1qpkCjIUDC3UrGnOjBmgeZ2g+AQMx0/HCpdnjsqucu1QIe florR2dgyoeWqxFzzJEfOMePHEyUxj26CyRQ5SK6/uZyvWg9/FfQG7nrbr991J8Y bTJ4Y9gRMt5ga6O2BcnhJJlfFjTxrPthydKyDO+EZSMzSBN/SgDKI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*r:ip*192.168.1.100, H*r:sk:daemon@, H*F:U*mark, H*r:8.12.11 X-HELO: m0.truegem.net Subject: Re: cygwin.dll: bug with select on Windows console To: cygwin AT cygwin DOT com References: <5680953B DOT 8050200 AT glup DOT org> From: Mark Geisert Message-ID: <568DB5B8.7030301@maxrnd.com> Date: Wed, 6 Jan 2016 16:47:52 -0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <5680953B.8050200@glup.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit john hood wrote: > I've attached a little demo program for the bug. Compile, run as > "socket-t 1000" (the argument is the number of microseconds select() > should wait), and mash keys on the keyboard for a little while. It > should report errors within 100 keystrokes. I think there might be a > dependency on the length of the wait passed to select(), I don't see the > problem happening with the wait set to 100 seconds. It appears your demo program didn't make it to the list. Could you please re-post it? ..mark -- 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