delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/14/10:21:08

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Wed, 14 Jun 2000 10:20:24 -0400
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: signal implementation bugs
Message-ID: <20000614102024.A32457@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com
References: <200006141351 DOT JAA22844 AT grex DOT cyberspace DOT org>
Mime-Version: 1.0
User-Agent: Mutt/1.2i
In-Reply-To: <200006141351.JAA22844@grex.cyberspace.org>; from tosh@cyberspace.org on Wed, Jun 14, 2000 at 09:51:30AM -0400

On Wed, Jun 14, 2000 at 09:51:30AM -0400, tosh wrote:
>i have been trying to use the latest version of Cygwin to port a simple
>program that uses TCP sockets.  the program uses blocking calls, such
>as recv(), connect(), or accept(), and uses alarm() to set timeouts on
>them.  much to my disappointment, i found that signal delivery does not
>interrupt these calls under cygwin.  not only that, but doing
>siglongjump() from the signal handler to the main program (in order to
>abort the timed out blocked call), also doesn't work.  is there any way
>to fix this?  other than using non-blocking i/o and select() which i
>assume would work.

As you have discovered, signals don't interrupt winsock functions
currently.  Cygwin also currently lacks an implementation of setsetjmp
and siglongjmp.

These are on the plate to be implemented but I don't have an ETA.

Sorry.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019