comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Stumped: Seg Fault with System.Secondary_Stack.SS_Mark()
Date: Fri, 07 Sep 2012 18:07:35 +0100
Date: 2012-09-07T18:07:35+01:00	[thread overview]
Message-ID: <m2vcfpoj6w.fsf@pushface.org> (raw)
In-Reply-To: df624c25-aaf6-41da-94df-632f1a374b7c@googlegroups.com

awdorrin <awdorrin@gmail.com> writes:

> After looking at the g-thread.ads file on my system, I'm thinking that
> perhaps I need to change the thread function to something like:
>
> extern void *__gnat_register_thread();
>
> int rtctl_rts() {
>   void *task_id = __gnat_register_thread();
>   e_mainline();
>   __gnat_unregister_thread();
>   return 0;
> }

That's what I was thinking (when I came across this problem, the Ada
code was a callback from a VxWorks task, so not the same scenario
exactly).



  reply	other threads:[~2012-09-14 17:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-06 19:34 Stumped: Seg Fault with System.Secondary_Stack.SS_Mark() awdorrin
2012-09-06 19:57 ` Ludovic Brenta
2012-09-06 20:53   ` awdorrin
2012-09-06 21:18     ` Ludovic Brenta
2012-09-06 22:13       ` awdorrin
2012-09-07 14:38         ` awdorrin
2012-09-07 14:55           ` Ludovic Brenta
2012-09-07 15:35           ` Simon Wright
2012-09-07 16:18             ` awdorrin
2012-09-07 16:31               ` awdorrin
2012-09-07 17:07                 ` Simon Wright [this message]
2012-09-07 17:50                   ` awdorrin
2012-09-08 13:23                     ` francois_fabien
2012-09-10 13:50                       ` awdorrin
replies disabled

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