[comp.lang.ada] Ada and Isis

kristina@sandia.uucp (Kristina Buchholtz (9226)) (05/11/91)

Does anybody have any experience interfacing Ada with Isis?  I am using
Verdix 6.0 Ada on a Dec5000, and am experiencing problems when Isis
(written in C) does a callback to Ada.  Specifically, I get a 
Storage_Error when the callback is called, unless I do a pragma suppress
on Storage_Check (just an interim solution).  Then, one of my callbacks
(an Isis_Task callback) works ok, but another (an Isis_Entry callback)
dies on kernel access when it is called (it looks like its going below 
the user stack).

We have implemented signal handlers using callbacks (C to Ada), and those
work ok as long as we suppress elaboration checks on the callbacks.
Also, all of our Ada to C code works just fine.

I'm not sure if my problems are a consequence of the tasking mechanisms 
that Isis uses, or if it is just a problem with Verdix Ada callbacks.

On our Sun4's, I can get further; the Isis_Entry callback gets called ok
and can do things like C I/O, but if it tries Ada I/O or exception handling,
it dies.  The Verdix Ada manual does warn against having C mainline
programs, but I've even tried putting the Isis executables in Ada wrappers,
and get the same results.

Anybody have any idea where my problem lies?

Thanks for any Help

Kristina Buchholtz
uucp:      ...{ucbvax | gatech}!unmvax!sandia!kristina
InterNet:  unmvax.unm.edu!sandia!kristina