help / color / mirror / Atom feed
* Foreign thread support
@ 2014-01-20  9:26 Simon Wright
  0 siblings, 0 replies; only message in thread
From: Simon Wright @ 2014-01-20  9:26 UTC (permalink / 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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-20  9:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-20  9:26 Foreign thread support Simon Wright

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