comp.lang.ada
 help / color / mirror / Atom feed
* asynchronos select question
@ 2001-10-25  9:54 Paolo Argenton
  2001-10-25 18:57 ` Ted Dennison
  2001-10-25 23:30 ` Peter Hend�n
  0 siblings, 2 replies; 5+ messages in thread
From: Paolo Argenton @ 2001-10-25  9:54 UTC (permalink / raw)


Just learning Ada in my spare time, so please be patient.. ;-)
I have the following question, regarding the select then abort usage:

if I try the following snippet, inspired by the AARM example

select
    delay 5.0;
    put_line (" timeout" );
then abort
    proc_with_blocking_io; -- i.e. wait for a byte to come from a serial
line for istance
end select;

it never triggers the timeout part and waits forever, at least on NT+gnat
3.13.
Is it correct ? incorrect ? my misunderstanding ? compiler/OS dependant code
?
thanks in advance

Paolo Argenton
paoloa1@yahoo.com






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

end of thread, other threads:[~2001-11-02 11:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-25  9:54 asynchronos select question Paolo Argenton
2001-10-25 18:57 ` Ted Dennison
2001-10-25 23:30 ` Peter Hend�n
2001-11-02  4:17   ` David Brown
2001-11-02 11:15   ` Robert Dewar

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