comp.lang.ada
 help / color / mirror / Atom feed
* JGNAT and Tasking/Protected Types Problem
@ 2001-10-15 20:30 Aaron Lerch
  2001-10-16 11:58 ` Marc A. Criley
  0 siblings, 1 reply; 4+ messages in thread
From: Aaron Lerch @ 2001-10-15 20:30 UTC (permalink / raw)


I'm running across a very baffling run-time problem that hopefully
someone can help me with!
I'm using the JGNAT compiler, and when the code instantiates a new
protected type, the ada libraries that come with JGNAT raise an
assertion exception out of the "defer_abort" function.
It looks to me like it's initializing the new protected type and when
it gets to the "defer_abort" function the following is false:
Self_ID.Deferral_Level = 0

Has anybody had a problem like this (or this exact one) in the past
and can help me get past it? The code does create protected types
before, so I'm a little confused. Also, the protected type has 3
inputs when it is created, but even if I moved them out of there and
put them into a "method", it still has the same error.

Any help would be great!!! Thanks!

Aaron Lerch



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-10-17 20:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-15 20:30 JGNAT and Tasking/Protected Types Problem Aaron Lerch
2001-10-16 11:58 ` Marc A. Criley
2001-10-17 14:47   ` Aaron Lerch
2001-10-17 20:12     ` Marc A. Criley

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