This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Any tips for debugging a GNAT tasking implementation problem?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]