From: Ole-Hjalmar Kristensen <oleh@vlinux.voxelvision.no>
Subject: Re: tasking with GNAT 3.14p on windows
Date: Mon, 31 Mar 2003 09:30:39 GMT
Date: 2003-03-31T09:30:39+00:00 [thread overview]
Message-ID: <7vu1djubmk.fsf@vlinux.voxelvision.no> (raw)
In-Reply-To: 3e87f4e2$1@epflnews.epfl.ch
Rodrigo Garc�a <rodrigo.garcia.ARROBA.epfl.ch> writes:
> 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
>
Unless Microsoft has significantly improved the Pthreads support, it's
not a good idea to implement the GNAT runtime on top of Pthreads on
Windows. From a quick look at the GNAT runtime, it seems like the
native NT interface is used, not Pthreads.
--
Ole-Hj. Kristensen
******************************************************************************
* You cannot consistently believe this sentence.
******************************************************************************
next prev parent reply other threads:[~2003-03-31 9:30 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 `
2003-03-31 9:30 ` Ole-Hjalmar Kristensen [this message]
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