From: "e.coli" <maurizio.ferracini@gmail.com>
Subject: Re: task time-out&abort
Date: 23 Jun 2005 08:26:19 -0700
Date: 2005-06-23T08:26:19-07:00 [thread overview]
Message-ID: <1119540379.606416.227950@z14g2000cwz.googlegroups.com> (raw)
In-Reply-To: <1119463703.048124.135330@o13g2000cwo.googlegroups.com>
e.coli ha scritto:
> here the code...
i have this simple code...
------------------------------------
with Ada.Text_Io;
procedure Sempliced2 is
task A_Task is
entry Uno;
end A_Task;
task body A_Task is
begin
loop
select
accept Uno do
Ada.Text_Io.Put_Line("i do something");
--here code like
--Horribly_Complicated_Recursive_Function(x,y);
end Uno;
or
terminate;
end select;
end loop;
end A_Task;
begin --corpo genitore
A_Task.Uno;
end Sempliced2;
------------------------------------------------
Speliced2 call the task entry uno.
now how Speliced2 can terminate the execution of the entry "uno" before
the
end of the call (es. time-out)?
next prev parent reply other threads:[~2005-06-23 15:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-22 18:08 task time-out&abort e.coli
2005-06-22 18:40 ` Dmitry A. Kazakov
2005-06-23 10:11 ` e.coli
2005-06-23 10:59 ` Dmitry A. Kazakov
2005-06-22 19:44 ` Mark Lorenzen
2005-06-23 1:44 ` Steve
2005-06-23 15:26 ` e.coli [this message]
2005-06-23 17:01 ` e.coli
2005-06-24 11:42 ` Marius Amado Alves
2005-06-28 21:31 ` Robert A Duff
2005-06-29 0:32 ` Marius Amado Alves
2005-06-29 20:52 ` Robert A Duff
2005-07-18 16:11 ` Robert I. Eachus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox