comp.lang.ada
 help / color / mirror / Atom feed
* gnat 3.15p with kernel 2.6 / SuSE 9.1
@ 2004-10-01 10:29 Thomas Aho
  2004-10-01 10:40 ` Florian Weimer
  2004-10-01 10:46 ` Ptr Problem Question Arthur Schwarz
  0 siblings, 2 replies; 9+ messages in thread
From: Thomas Aho @ 2004-10-01 10:29 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-10-05  6:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-01 10:29 gnat 3.15p with kernel 2.6 / SuSE 9.1 Thomas Aho
2004-10-01 10:40 ` 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

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