From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,11f4880dfa9887f7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-01 20:17:10 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Sender: David Brown From: David Brown Subject: Re: asynchronos select question Newsgroups: comp.lang.ada References: <9r8nmb$l2j$1@e3k.asi.ansaldo.it> User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (Linux/2.4.12 (i686)) Message-ID: <97pE7.7959$S4.643341@newsread1.prod.itd.earthlink.net> Date: Fri, 02 Nov 2001 04:17:09 GMT NNTP-Posting-Host: 64.133.74.64 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1004674629 64.133.74.64 (Thu, 01 Nov 2001 20:17:09 PST) NNTP-Posting-Date: Thu, 01 Nov 2001 20:17:09 PST Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Thu, 01 Nov 2001 20:13:14 PST (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:15612 Date: 2001-11-02T04:17:09+00:00 List-Id: "Peter Henden" wrote: > "Paolo Argenton" wrote: > >> 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