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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,aa1fb30cfff6f854,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.241.98 with SMTP id wh2mr5079229pbc.7.1337818737173; Wed, 23 May 2012 17:18:57 -0700 (PDT) Path: pr3ni37530pbb.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: sbelmont700@gmail.com Newsgroups: comp.lang.ada Subject: OS support for ATC's Date: Wed, 23 May 2012 17:18:56 -0700 (PDT) Organization: http://groups.google.com Message-ID: <6ec8f165-9177-47cd-b96d-bce88f33ecca@googlegroups.com> NNTP-Posting-Host: 206.53.78.59 Mime-Version: 1.0 X-Trace: posting.google.com 1337818737 10776 127.0.0.1 (24 May 2012 00:18:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 24 May 2012 00:18:57 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=206.53.78.59; posting-account=ShYTIAoAAABytvcS76ZrG9GdaV-nXYKy User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-05-23T17:18:56-07:00 List-Id: The LRM 9.7.4 defines an "Asynchronous Transfer of Control" (otherwise know= n as an abortable select statment), where one part can be preempted by the = acceptance of an entry in the other. GNAT, however, defines a compiler-spe= cific "polling" pragma that is ostensibly required to support ATC's on "tar= gets that cannot otherwise support it", and Windows is given as the example= . I suppose it's more a GNAT-specific question, but how does one know if ATC'= s are supported on some arbitray target (DOS, Vxworks, brand-X linux, OS/2,= etc)? The LRM makes no mention that they might not be supported, so it se= ems odd to me that GNAT requires specific action to make it so, and moreso = that they provide no particular guidance on when it's required and presumab= ly would compile a program that would not work (i.e. if the polling pragma = was not turned on for windows, I assume it would simply not abort when requ= ired). -sb