comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <OneWingedShark@gmail.com>
Subject: Re: passing messages between the tasks
Date: Tue, 14 Oct 2014 14:33:51 -0600
Date: 2014-10-14T14:33:51-06:00	[thread overview]
Message-ID: <VMf%v.470446$Y4.196652@fx24.iad> (raw)
In-Reply-To: <52c27795-4b83-4409-af5f-fb24299845f3@googlegroups.com>

On 10/14/2014 9:30 AM, compguy45@gmail.com wrote:
> how would you be able to recal these values...
>
> say i want to print b of task 1
> and I of task 2
>

Make another task that "knows about" your multiple tasks?

    type Task_ID is range 1..6;
    task Master_Task is
       entry Reset( ID : Task_ID );
    end Master_Task;

    task body Master_Task is
       lamps : array (Task_ID) of lamp;
    begin
       [...]
    end Master_Task;


  parent reply	other threads:[~2014-10-14 20:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-14  1:17 passing messages between the tasks compguy45
2014-10-14  1:49 ` Adam Beneschan
2014-10-14  1:55   ` compguy45
2014-10-14  2:09   ` compguy45
2014-10-14  2:14     ` Adam Beneschan
2014-10-14  2:15       ` compguy45
2014-10-14  7:36         ` mockturtle
2014-10-14 15:30           ` compguy45
2014-10-14 16:25             ` mockturtle
2014-10-14 20:33             ` Shark8 [this message]
2014-10-14 19:43   ` Shark8
2014-10-14 20:42     ` Jeffrey Carter
2014-10-14 21:08       ` compguy45
2014-10-14 21:58         ` compguy45
2014-10-14 23:03           ` Jeffrey Carter
2014-10-14 22:22         ` Shark8
2014-10-14 23:49         ` Dennis Lee Bieber
2014-10-15  1:07         ` Dennis Lee Bieber
replies disabled

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