comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Foreign thread support
Date: Mon, 20 Jan 2014 09:26:29 +0000
Date: 2014-01-20T09:26:29+00:00	[thread overview]
Message-ID: <lyvbxfqa0q.fsf@pushface.org> (raw)

Sometimes you have Ada code which is called from a non-Ada environment;
for example, an interrupt handler, or a callback.

If you are using GNAT, then unless you place quite severe restrictions
on what the Ada code (and anything it calls) does, you have to link the
current thread environment to the GNAT runtime, using
GNAT.Register_Thread (on VxWorks 5.5, for instance, this sets up the
necessary link in the Task Control Block).

Do other compilers have/need similar features?


                 reply	other threads:[~2014-01-20  9:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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