From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bccb34741ee584f4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news.glorb.com!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!news.highwinds-media.com!newspeer1-win.ntli.net!newsfe6-gui.ntli.net.POSTED!53ab2750!not-for-mail From: "Dr. Adrian Wrigley" Subject: Re: select delay; then abort... in Annex E User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-Id: Newsgroups: comp.lang.ada References: <4obtmjFdug6mU1@individual.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Tue, 03 Oct 2006 11:33:48 GMT NNTP-Posting-Host: 82.10.238.153 X-Trace: newsfe6-gui.ntli.net 1159875228 82.10.238.153 (Tue, 03 Oct 2006 12:33:48 BST) NNTP-Posting-Date: Tue, 03 Oct 2006 12:33:48 BST Organization: NTL Xref: g2news2.google.com comp.lang.ada:6847 Date: 2006-10-03T11:33:48+00:00 List-Id: 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. 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