From: my_spam@bluewin.ch (Thomas Aho)
Subject: gnat 3.15p with kernel 2.6 / SuSE 9.1
Date: 1 Oct 2004 03:29:31 -0700
Date: 2004-10-01T03:29:31-07:00 [thread overview]
Message-ID: <d05d2155.0410010229.3e1ae70c@posting.google.com> (raw)
I have a problem with gnat 3.14p hanging on a SuSE 9.1 system (kernel
2.6). As soon as there are tasks involved, the program hangs, as soon
as the task is being activated. An example:
with Text_Io;
procedure Amain is
task type Tt is
entry Start;
entry Stop;
end;
task body Tt is
Exit_Flag : Boolean := False;
begin
accept Start;
while not Exit_Flag Loop
Text_Io.Put_Line("hello");
select
accept Stop;
Exit_Flag := True;
or delay 1.0;
end select;
end loop;
end;
begin
Text_Io.Put_Line("start");
declare
T1 : Tt;
begin
t1.Start;
delay 5.0;
T1.Stop;
end;
end Amain;
This program will only report "start", and then nothing more.
I have made sure that the gcc that is found is 2.8.1 (which is the
backend for gnat 3.15), so there is no gcc2-gcc3 conflict.
Does anyone have experinced similar problems?
/Thomas Aho
next reply other threads:[~2004-10-01 10:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-01 10:29 Thomas Aho [this message]
2004-10-01 10:40 ` gnat 3.15p with kernel 2.6 / SuSE 9.1 Florian Weimer
2004-10-01 13:24 ` Marc A. Criley
2004-10-01 17:15 ` Ludovic Brenta
2004-10-04 8:36 ` Alex R. Mosteo
2004-10-05 6:35 ` Thomas Aho
2004-10-01 10:46 ` Ptr Problem Question Arthur Schwarz
2004-10-01 11:04 ` Marius Amado Alves
2004-10-01 18:12 ` Jeffrey Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox