comp.lang.ada
 help / color / mirror / Atom feed
From: Ada BRL <ada.brl.2011@gmail.com>
Subject: Re: "C - like: THIS" pointer to a task type inside a task function
Date: Tue, 24 Jan 2012 09:13:26 -0800 (PST)
Date: 2012-01-24T09:13:26-08:00	[thread overview]
Message-ID: <c31067e9-ba47-4d40-96b4-a4464edd6734@cf6g2000vbb.googlegroups.com> (raw)
In-Reply-To: jfkfeq$oas$1@adenine.netfront.net

On 23 Gen, 20:20, Jeffrey Carter <spam.jrcarter....@spam.not.acm.org>
wrote:
> On 01/23/2012 12:32 PM, Ada BRL wrote:
>
> I think perhaps you should become more familiar with basic Ada before attempting
> something like this. In addition to the use of "in out" parameters already
> suggested, creating multiple objects of a task type is better than having
> multiple singleton tasks.
>
> >            Data : String;
>
> This is illegal.

I know, was just an example, not a copy paste of my code :-).

>
> >            while True loop
>
> "loop" all by itself has the same effect, and is clearer.

See above.

>
> --
> Jeff Carter
> "I was hobbling along, minding my own business, all of a
> sudden, up he comes, cures me! One minute I'm a leper with
> a trade, next minute my livelihood's gone! Not so much as a
> 'by your leave!' You're cured, mate. Bloody do-gooder!"
> Monty Python's Life of Brian
> 76
>
> --- Posted via news://freenews.netfront.net/ - Complaints to n...@netfront.net ---




  reply	other threads:[~2012-01-24 17:14 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-23 19:32 "C - like: THIS" pointer to a task type inside a task function Ada BRL
2012-01-23 19:59 ` Dmitry A. Kazakov
2012-01-23 22:17   ` tmoran
2012-01-24  8:47     ` Dmitry A. Kazakov
2012-01-24 17:12   ` Ada BRL
2012-01-24 18:43     ` Dmitry A. Kazakov
2012-01-25 12:43       ` Ada BRL
2012-01-25 13:48         ` Dmitry A. Kazakov
2012-01-25 15:05           ` Ada BRL
2012-01-25 18:10             ` Dmitry A. Kazakov
2012-01-26 15:19               ` Ada BRL
2012-01-26  4:17           ` Randy Brukardt
2012-01-24 17:27   ` Ada BRL
2012-01-23 20:20 ` Jeffrey Carter
2012-01-24 17:13   ` Ada BRL [this message]
2012-01-24  6:39 ` J-P. Rosen
2012-01-25  0:42 ` Adam Beneschan
2012-01-25  0:46   ` Adam Beneschan
2012-01-25  7:38   ` J-P. Rosen
replies disabled

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