Re: protected type interrupts
- From: "Adam Beneschan" <adam@xxxxxxxxxx>
- Date: 24 Aug 2006 11:15:55 -0700
REH wrote:
Thanks for the reference. Is your work-around valid? Isn't calling
Relay_Object.Isr a potentially blocking operation, and thus a bad thing
to do in an interrupt?
I don't think it's potentially blocking... Relay_Object.Isr is a
procedure, and as I read 9.5.1, a call to a protected *procedure* is
not a potentially blocking operation unless it's done from the same
protected object. A call on a protected *entry* would be potentially
blocking. [This is from the Ada 95 manual. If this has changed in Ada
0Y, I can't tell because www.adaic.com isn't responding.]
-- Adam
.
- Follow-Ups:
- Re: protected type interrupts
- From: REH
- Re: protected type interrupts
- References:
- protected type interrupts
- From: REH
- Re: protected type interrupts
- From: Jean-Pierre Rosen
- Re: protected type interrupts
- From: REH
- protected type interrupts
- Prev by Date: Re: Information On How To Use The Ada Score Compiler For Windows PC
- Next by Date: Re: Ripple effect
- Previous by thread: Re: protected type interrupts
- Next by thread: Re: protected type interrupts
- Index(es):