comp.lang.ada
 help / color / mirror / Atom feed
From: "Dr. Adrian Wrigley" <amtw@linuxchip.demon.co.uk.uk.uk>
Subject: Re: select delay; then abort...  in Annex E
Date: Tue, 03 Oct 2006 11:33:48 GMT
Date: 2006-10-03T11:33:48+00:00	[thread overview]
Message-ID: <pan.2006.10.03.11.32.21.85458@linuxchip.demon.co.uk.uk.uk> (raw)
In-Reply-To: pan.2006.10.03.11.22.34.567879@linuxchip.demon.co.uk.uk.uk

On Tue, 03 Oct 2006 11:20:23 +0000, Dr. Adrian Wrigley wrote:

> I have put together a test case which illustrates this.
> 
> Once a task has executed a RCI call, it cannot be aborted
> properly at all :(  (GNAT GPL 2006, Linux, FC5 i686)
> 
> Can anyone out there try this example for me please?
> (correct behaviour is to count to about six, then the program
> terminates. <example below>

Interestingly, the test case works exactly correctly on
GNAT 3.15p.  I think this is the behaviour described in the ARM.

The RCI call *is* aborted successfully, and the calling task 
does not carry on.

$ cmain
J= 1
J= 2
J= 3
J= 4
Abort to be called
Abort returned.  The program should stop shortly.
$
--
Adrian




  reply	other threads:[~2006-10-03 11:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-30 22:31 select delay; then abort... in Annex E Dr. Adrian Wrigley
2006-10-02  7:33 ` Alex R. Mosteo
2006-10-03 11:20   ` Dr. Adrian Wrigley
2006-10-03 11:33     ` Dr. Adrian Wrigley [this message]
2006-10-03 13:01     ` Alex R. Mosteo
2006-10-03 19:16     ` Jeffrey R. Carter
2006-10-03 22:31       ` Dr. Adrian Wrigley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox