comp.lang.ada
 help / color / mirror / Atom feed
From: awdorrin <awdorrin@gmail.com>
Subject: Re: Calling Ada from C (linux/gnat 4.3.2)
Date: Thu, 3 Nov 2011 09:17:34 -0700 (PDT)
Date: 2011-11-03T09:17:34-07:00	[thread overview]
Message-ID: <1d620e6c-4b03-40f0-aa8e-486a7a02fb23@n38g2000yqm.googlegroups.com> (raw)
In-Reply-To: 82ehxqmrvx.fsf@stephe-leake.org

Thanks for the suggestions

Jeff - yes, I'm calling adainit/final - the Ada code is executing when
I remove the -fstack-check, its just running rampant through memory
and the threads are clobbering each other.

Simon - Thanks, the GNAT.Threads.Register_Thread sounds promising -
I'm wondering if it may be the equivalent of the rts_init_task() call.

Stephen - believe me, I'd rather do that, but I'm limited in my
options for which parts of the program I can modify.

I haven't had a chance to try out Simon's suggestion yet. I had
problem with the Linux server that had me spending all day
reinstalling the OS...

Will follow up once I get things reconfigured.





  reply	other threads:[~2011-11-03 16:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-01 18:46 Calling Ada from C (linux/gnat 4.3.2) awdorrin
2011-11-01 20:44 ` Jeffrey Carter
2011-11-01 23:38 ` Simon Wright
2011-11-02  4:17 ` anon
2011-11-02 16:05 ` Stephen Leake
2011-11-03 16:17   ` awdorrin [this message]
2011-11-08 23:22     ` awdorrin
2011-11-09 10:46       ` Pascal Obry
2011-11-09 21:10         ` Ludovic Brenta
2012-02-28 16:28 ` Matt Grochowalski
replies disabled

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