comp.lang.ada
 help / color / mirror / Atom feed
From: awdorrin <awdorrin@gmail.com>
Subject: Re: Stumped: Seg Fault with System.Secondary_Stack.SS_Mark()
Date: Fri, 7 Sep 2012 09:31:19 -0700 (PDT)
Date: 2012-09-07T09:31:19-07:00	[thread overview]
Message-ID: <df624c25-aaf6-41da-94df-632f1a374b7c@googlegroups.com> (raw)
In-Reply-To: <00367705-1c58-4ae1-9965-c6415feae8c3@googlegroups.com>

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;
}




  reply	other threads:[~2012-09-07 16:31 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 [this message]
2012-09-07 17:07                 ` Simon Wright
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