comp.lang.ada
 help / color / mirror / Atom feed
Subject: Re: tasking with GNAT 3.14p on windows
Date: Mon, 31 Mar 2003 09:57:08 +0200
Date: 2003-03-31T09:57:08+02:00	[thread overview]
Message-ID: <3e87f4e2$1@epflnews.epfl.ch> (raw)
In-Reply-To: Xns934E8C5D49EFBerndSpechtgmxcom@62.153.159.134

Bernd Specht wrote:
> Hi,
> 
> I tried an example from "Barnes, 18.8", but it didn't work as expected. Any 
> ideas?
> 
> with Text_IO; use Text_IO;
> 
> procedure TaskTest is
> begin
>   select
>     delay 3.0;
>     put_line ("aborted");
>   then abort
>     loop 
>       null; -- modified
>     end loop;
>   end select;
> end TaskTest;
>  
> 
> The computation is not aborted (what I would expect). Do I misunderstand 
> something?


   This example works as expected on my Red Hat 7.3 with GNAT 3.15p. I 
will try to run it on Windows 2000 to see if that is the problem.

   That would be strange anyway, since GNAT relies on pthreads for 
implementing its run-time. Is there a problem with pthreads 
implementation on Windows?

Rodrigo




  parent reply	other threads:[~2003-03-31  7:57 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-30 18:49 tasking with GNAT 3.14p on windows Bernd Specht
2003-03-30 20:19 ` James S. Rogers
2003-03-30 22:14   ` Jano
2003-03-31  2:53     ` James S. Rogers
2003-03-31  6:32       ` James S. Rogers
2003-03-31  6:56       ` Sergey Koshcheyev
2003-03-31  9:00         ` 
2003-03-31 19:09       ` Bernd Specht
2003-03-31 18:14     ` Chad R. Meiners
2003-03-31 21:08       ` Jano
2003-03-31  7:57 `  [this message]
2003-03-31  9:30   ` Ole-Hjalmar Kristensen
2003-03-31 17:58     ` Jano
2003-03-31 18:30       ` Chad R. Meiners
2003-03-31 22:16         ` Jano
2003-03-31 23:09           ` Chad R. Meiners
2003-03-31 23:44           ` Chad R. Meiners
2003-04-01 12:17             ` Jano
2003-04-01  2:40         ` Robert A Duff
2003-04-01  4:17           ` Chad R. Meiners
2003-04-01  6:25             ` Jano
2003-04-01 15:33               ` Pascal Obry
2003-04-01  8:42           ` Dmitry A. Kazakov
2003-04-02 13:35             ` Alfred Hilscher
replies disabled

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