comp.lang.ada
 help / color / mirror / Atom feed
From: "Magik" <dormar00@poczta.onet.pl>
Subject: Problem with tasks
Date: Sat, 4 Sep 2004 10:57:14 +0200
Date: 2004-09-04T10:57:14+02:00	[thread overview]
Message-ID: <chc076$i96$1@nemesis.news.tpi.pl> (raw)

Hello.

1. Proces_Alarmu.Start -> Yes OK!
2. Proces_Alarmu.Stop -> Yes OK!
But
3. Proces_Alarmu.Start - Why does not start again exercise?

task Proces_Alarmu is
      entry Start;
      entry Stop;
   end Proces_Alarmu;

task body Proces_Alarmu is
   begin
      accept Start;
            loop
             select
                accept Stop;
                exit;
         or
            delay 1.0;
            end select;
put("test");
      end loop;
   end Proces_Alarmu;

Programming in Windows Gnat 3.13





             reply	other threads:[~2004-09-04  8:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-04  8:57 Magik [this message]
2004-09-04 10:51 ` Problem with tasks Frank J. Lhota
2004-09-04 11:02   ` Magik
2004-09-04 13:53 ` Pascal Obry
  -- strict thread matches above, loose matches on Subject: below --
2001-07-25  8:52 Carlos Aganzo
2001-07-25  9:32 ` Jean-Pierre Rosen
2001-07-26  1:47 ` DuckE
2001-07-26 11:20 ` Carlos Aganzo
2001-07-26 16:03 ` Ted Dennison
2001-07-26 20:28   ` Ehud Lamm
2001-07-27 12:42     ` Ehud Lamm
2001-07-27  8:15 ` Carlos Aganzo
replies disabled

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