comp.lang.ada
 help / color / mirror / Atom feed
From: "Paolo Argenton" <paolo.argenton@elsag.it>
Subject: asynchronos select question
Date: Thu, 25 Oct 2001 11:54:31 +0200
Date: 2001-10-25T11:54:31+02:00	[thread overview]
Message-ID: <9r8nmb$l2j$1@e3k.asi.ansaldo.it> (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






             reply	other threads:[~2001-10-25  9:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-25  9:54 Paolo Argenton [this message]
2001-10-25 18:57 ` asynchronos select question Ted Dennison
2001-10-25 23:30 ` Peter Hend�n
2001-11-02  4:17   ` David Brown
2001-11-02 11:15   ` Robert Dewar
replies disabled

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