comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@acm.nospam.org>
Subject: Re: Tasking issues
Date: Sun, 12 Aug 2007 22:15:41 GMT
Date: 2007-08-12T22:15:41+00:00	[thread overview]
Message-ID: <hELvi.42933$Xa3.12264@attbi_s22> (raw)
In-Reply-To: <O6Lvi.32007$ax1.21997@bgtnsc05-news.ops.worldnet.att.net>

anon wrote:
> 
> As for "Get_Line immediately", thats an error, The Ada code can not 
> force the operating system or keyboard routine to abort. Try reading 
> RM 7.6.1 (23).
> 
> 23   (20) Abort is deferred during certain operations related to controlled
>      types, as explained in 9.8.  Those rules prevent an abort from causing a
>      controlled object to be left in an ill-defined state.

There are no controlled objects in your code.

> Since the keyboard routine in the operating system is one of the 
> following define in RM 9.8
> 
>     6  a protected action;
>    11  an assignment operation to an object with a controlled part.
> 
> or the 'Get_Line' procedure has connect to a secondary task { aka 
> operating system's keyboard routine } and the execution is define in 
> RM 9.8 as
> 
>    16  the point where the execution initiates the activation of another
>        task;
> or
>    17  the end of the activation of a task;
> 
> where the another task { aka operating system's keyboard routine }.

There are no protected actions in your code. The only task activations 
in your code are of the 2 tasks Get_Name and Print_Something.

-- 
Jeff Carter
"Sir Lancelot saves Sir Gallahad from almost certain temptation."
Monty Python & the Holy Grail
69



  reply	other threads:[~2007-08-12 22:15 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-11 17:03 Tasking issues shaunpatterson
2007-08-11 18:42 ` Dmitry A. Kazakov
2007-08-12 11:06   ` Simon Wright
2007-08-12 12:05     ` Dmitry A. Kazakov
2007-08-12 17:12       ` shaunpatterson
2007-08-12 18:03         ` Dmitry A. Kazakov
2007-08-12 22:10         ` Jeffrey R. Carter
2007-08-13 19:54         ` Simon Wright
2007-08-13 22:30           ` shaunpatterson
2007-08-14  7:10             ` Tasking issues => Book List anon
     [not found]     ` <13bulskfjvogv8e@corp.supernews.com>
2007-08-12 20:20       ` Tasking issues Simon Wright
2007-08-11 18:51 ` jimmaureenrogers
2007-08-11 19:08 ` Jeffrey R. Carter
2007-08-11 22:31 ` Steve
2007-08-12  9:00 ` anon
2007-08-12  9:43   ` Dmitry A. Kazakov
2007-08-12 21:39     ` anon
2007-08-12 22:15       ` Jeffrey R. Carter [this message]
2007-08-13  9:13         ` anon
2007-08-13 19:37           ` Simon Wright
2007-08-13 20:17             ` Markus E.L. 2
2007-08-14  0:40           ` Jeffrey R. Carter
2007-08-13  9:22       ` Dmitry A. Kazakov
2007-08-13 12:41         ` Larry Kilgallen
2007-08-13 13:22           ` Dmitry A. Kazakov
2007-08-12 21:03   ` Maciej Sobczak
2007-08-12 22:07   ` Jeffrey R. Carter
replies disabled

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