This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Any tips for debugging a GNAT tasking implementation problem?
- From: Laurent GUERBY <laurent at guerby dot net>
- To: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Fri, 25 Sep 2009 18:05:12 +0200
- Subject: Re: Any tips for debugging a GNAT tasking implementation problem?
- References: <4ABC2F40.7020905@gmail.com> <1253893711.18435.200.camel@localhost>
On Fri, 2009-09-25 at 17:48 +0200, Laurent GUERBY wrote:
> Hi,
>
> I'd say from the symptoms tasking doesn't work at all, could you try
> with a simpler testcase:
>
> -- begin tt.adb
> with Ada.Text_IO; use Ada.Text_IO;
> procedure TT is
> task T;
> task body T is
> begin
> Put_Line ("task");
> end;
> begin
> Put_Line ("main");
> end;
> -- end tt.adb
>
> To my knowledge once "created" an Ada task will immediately start
> executing user program code with magic synchronization lock.
with => without
Laurent