From: Martin Dowie <martin.dowie@btopenworld.com>
Subject: Re: help in task, what is wrong?
Date: Sun, 24 Apr 2005 18:19:12 +0000 (UTC)
Date: 2005-04-24T18:19:12+00:00 [thread overview]
Message-ID: <d4gnv0$5gf$1@nwrdmz03.dmz.ncs.ea.ibs-infra.bt.com> (raw)
In-Reply-To: <1114347735.376048.213420@o13g2000cwo.googlegroups.com>
mferracini wrote:
> sorry for the italian source code:
>
> ----
> with Ada.Text_Io;
>
> procedure Interazione is --processo genitore
>
>
> task type Generico is
> entry Init;
> entry Esegui;
> end Generico;
>
> type Ptr_Generico is access Generico;
>
> task type Schedulatore is
[snip]
> schedulatore.Addtask(Task_X); give me this error:
> invalid use of subtype mark.
>
> how i can pass the task pointer? thanks
It isn't the parameter that's the problem. "Schedulartore" is a task
_type_ - you haven't created an instance of the type yet.
Cheers
-- Martin
prev parent reply other threads:[~2005-04-24 18:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-24 13:02 help in task, what is wrong? mferracini
2005-04-24 14:02 ` Ed Falis
2005-04-24 14:09 ` Adrien Plisson
2005-04-24 15:28 ` mferracini
2005-04-24 18:19 ` Martin Dowie [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox