comp.lang.ada
 help / color / mirror / Atom feed
From: "mferracini" <maurizio.ferracini@gmail.com>
Subject: Re: Generic,procedure and visibility.
Date: 25 Nov 2004 08:53:57 -0800
Date: 2004-11-25T08:53:57-08:00	[thread overview]
Message-ID: <1101401637.028058.169190@z14g2000cwz.googlegroups.com> (raw)
In-Reply-To: <1101400573.954385.108150@f14g2000cwb.googlegroups.com>

now see this new case:

package Generico is
generic
with procedure Lavora;
package Nascosto is
procedure Inizia;
end Nascosto;
end Generico;

package body Generico is

package body Nascosto is

task type Pippo is
entry Fai;
end Pippo;

task body Pippo is
begin
accept Fai;
Lavora;
end Pippo;

type P_Pippo is access Pippo;
x:p_pippo;

procedure Inizia is
begin
X:=new Pippo;
X.Fai;
end Inizia;
end Nascosto;

begin
null;
end Generico;

--------------------------
evry time that call i [thing that is a new generico.nascosto].inizia
a new task born.

so i want to create a array of this task for manage them.
how i can do?

thanks




  reply	other threads:[~2004-11-25 16:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-25 16:36 Generic,procedure and visibility mferracini
2004-11-25 16:53 ` mferracini [this message]
2004-11-25 19:15   ` Stephen Leake
2004-11-25 20:27     ` Jeffrey Carter
2004-11-29 16:29     ` mferracini
2004-11-29 21:47       ` Stephen Leake
2004-11-25 18:20 ` Georg Bauhaus
replies disabled

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