Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-T2-Posting-ID: dCnToGxhL58ot4EWY8b+QGwMembwLoz1X2yB7MdtIiA= Date: Tue, 1 Nov 2005 09:39:24 +0100 From: Samuel Thibault To: cygwin AT cygwin DOT com Subject: Re: signals and read blocking - EINTR Message-ID: <20051101083924.GC5165@bouh.residence.ens-lyon.fr> Mail-Followup-To: cygwin AT cygwin DOT com References: <20051101060240 DOT GA16654 AT trixie DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20051101060240.GA16654@trixie.casa.cgf.cx> User-Agent: Mutt/1.5.9i-nntp X-IsSubscribed: yes Christopher Faylor, le Tue 01 Nov 2005 01:02:40 -0500, a écrit : > On Mon, Oct 31, 2005 at 08:49:30PM -0700, Jim Easton wrote: > >I'm wondering what am I missing? Is there a flag in sigaction > >or something else that I could be setting? > > Yes. SA_RESTART is the flag. No: he wants to be _interrupted_. SA_RESTART is used for _not_ being interrupted, i.e. the system restarts the system call itself. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/