comp.lang.ada
 help / color / mirror / Atom feed
From: Mats Weber <Mats.Weber@elca-matrix.ch>
Subject: Re: In Exception ?
Date: 1998/04/09
Date: 1998-04-09T00:00:00+00:00	[thread overview]
Message-ID: <352D0231.E98A0106@elca-matrix.ch> (raw)
In-Reply-To: 6gcjru$7im@drn.newsguy.com


nabbasi@earthlink.net.NOSPAM wrote:

> this takes care of synch. between tasks. but what about interrupts?
> an interrupt could occur anytime, and it also could establish an
> exception, and could end up in it ,  so this would lead
> to a race condition also on the global variable.

What do you mean by interrupt ? I think the above is wrong.

I don't see how you can end up in an exception handler asynchronously.
Asynchronous transfer of control is not defined in terms of exceptions (see RM
9.7.4). Or am I missing something ?

(Ada 80 had an asynchronous transfer of control mechanism based on exceptions,
but it never got implemented in a widespread compiler, and was removed form
Ada 83).




  parent reply	other threads:[~1998-04-09  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <35214b7a.0@news.profinet.at>
1998-04-04  0:00 ` In Exception ? Paul Van Bellinghen
1998-04-07  0:00   ` John Herro
1998-04-05  0:00 ` Corey Ashford
1998-04-07  0:00   ` nabbasi
     [not found]     ` <Er1n22.24v@world.std.com>
1998-04-07  0:00       ` Robert Dewar
1998-04-07  0:00     ` Corey Minyard
1998-04-09  0:00     ` Mats Weber [this message]
1998-04-09  0:00       ` nabbasi
1998-04-10  0:00         ` Larry Kilgallen
1998-04-09  0:00     ` Mats Weber
1998-04-09  0:00       ` nabbasi
replies disabled

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