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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,126ce244c524526b X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!newscon02.news.prodigy.net!prodigy.net!wn11feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: Re: Tasking issues Reply-To: anon@anon.org (anon) References: <1186851804.567302.223160@q4g2000prc.googlegroups.com> X-Newsreader: IBM NewsReader/2 2.0 Message-ID: Date: Mon, 13 Aug 2007 09:13:22 GMT NNTP-Posting-Host: 12.64.158.53 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1186996402 12.64.158.53 (Mon, 13 Aug 2007 09:13:22 GMT) NNTP-Posting-Date: Mon, 13 Aug 2007 09:13:22 GMT Organization: AT&T Worldnet Xref: g2news2.google.com comp.lang.ada:1420 Date: 2007-08-13T09:13:22+00:00 List-Id: Do You Know anything about programming? TROLL! Or are you just a JOKE {Hint your sig, suggest so} that wishes he was a programmer! You need to go back to school and stop falling asleep in class. Any routine in the kernel such as a keyboard routine is a controlled type. In , "Jeffrey R. Carter" writes: >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. The Get_Line call executes a protected routine. Before speaking You should know something about what you saying! > >> 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. Can you read I was talking about the Keyboard routine! That's why the comment in {}. Or should I say you need to get your eyes check or recheck. > >-- >Jeff Carter >"Sir Lancelot saves Sir Gallahad from almost certain temptation." >Monty Python & the Holy Grail >69 That States Your Just Another STUPID JOKER!