comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org>
Subject: Re: select delay; then abort...  in Annex E
Date: Tue, 03 Oct 2006 19:16:53 GMT
Date: 2006-10-03T19:16:53+00:00	[thread overview]
Message-ID: <FGyUg.1007095$084.875925@attbi_s22> (raw)
In-Reply-To: <pan.2006.10.03.11.22.34.567879@linuxchip.demon.co.uk.uk.uk>

Dr. Adrian Wrigley wrote:
> 
> What happens is that the RCI call continues to completion.  All
> subsequent delay statements in the task take minimal time(!),
> but the task continues to run.  It can successfully call RCI
> units, and proceeds as normal (other than the instant delay statements)
> until it completes.

Are you trying to abort a procedure that takes longer to execute than 
your delay, or a remote call that is not returning when the procedure 
has completed execution?

If the former, can you move the time out to the procedure?

Remoteprocedure (Timeout_Interval => 10.0, Timed_Out => Timed_Out);

if Timed_Out then
    Complain;
end if;

-- 
Jeff Carter
"You empty-headed animal-food-trough wiper."
Monty Python & the Holy Grail
04



  parent reply	other threads:[~2006-10-03 19:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-30 22:31 select delay; then abort... in Annex E Dr. Adrian Wrigley
2006-10-02  7:33 ` Alex R. Mosteo
2006-10-03 11:20   ` Dr. Adrian Wrigley
2006-10-03 11:33     ` Dr. Adrian Wrigley
2006-10-03 13:01     ` Alex R. Mosteo
2006-10-03 19:16     ` Jeffrey R. Carter [this message]
2006-10-03 22:31       ` Dr. Adrian Wrigley
replies disabled

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