comp.lang.ada
 help / color / mirror / Atom feed
From: David Brown <davidb-cla@davidb.org>
Subject: Re: asynchronos select question
Date: Fri, 02 Nov 2001 04:17:09 GMT
Date: 2001-11-02T04:17:09+00:00	[thread overview]
Message-ID: <97pE7.7959$S4.643341@newsread1.prod.itd.earthlink.net> (raw)
In-Reply-To: ig1C7.2344$R43.409545@newsb.telia.net

"Peter Henden" <phenden@tdab.com> wrote:
> "Paolo Argenton" wrote:
> <snip>
>> 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;

> Just a question to those who might know. Is this behaviour conforming
> to the standard? I can see no reason in the ARM for not being able
> to abort a blocking io operation. Does it work on other platforms?

This works on arch's such as Linux, where abort is implemented with a
signal.

I understand that NT doesn't really provide a way for one task to
"signal" another task, so there isn't really any way to implement this
in NT.

Dave Brown



  reply	other threads:[~2001-11-02  4:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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