From mint-bounce@lists.fishpool.fi  Thu Feb 26 04:26:33 2009
X-Virus-Scanned: amavisd-new at demon.co.uk
Subject: Re: [MiNT] sigaction() and SA_RESTART / SA_INTERRUPT
From: Alan Hourihane <alanh@fairlite.co.uk>
To: David Brownlee <abs@absd.org>
Cc: mint <mint@fishpool.com>
In-Reply-To: <alpine.NEB.2.00.0902260857480.13606@localhost>
References: <alpine.NEB.2.00.0902252152510.13606@localhost>
	 <1235604184.13634.228.camel@jetpack.demon.co.uk>
	 <alpine.NEB.2.00.0902260857480.13606@localhost>
Content-Type: text/plain
Date: Thu, 26 Feb 2009 09:25:01 +0000
Message-Id: <1235640301.13634.233.camel@jetpack.demon.co.uk>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 7bit
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: alanh@fairlite.co.uk
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>

On Thu, 2009-02-26 at 08:58 +0000, David Brownlee wrote:
> On Wed, 25 Feb 2009, Alan Hourihane wrote:
> 
> > On Wed, 2009-02-25 at 22:00 +0000, David Brownlee wrote:
> >> 	Is there any way to SA_RESTART or SA_INTERRUPT in sa_flags
> >>  	for sigaction() under mint? Ther are the two ways to
> >>  	determine whether system calls should be restarted after
> >>  	a signal?
> >
> > Nope, currently unsupported.
> 
>  	Ah bummer :(
> 
>  	Is there any docs on the signal implementation in MiNT? I notice
>  	signal.h mentions that signal() defaults to BSD semantics, which
>  	should include restartable system calls?

All the docs that I know are in the FreeMiNT source :-)

Alan.


