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-Thread: 103376,8ee36bc9f5f21359 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g49g2000cwa.googlegroups.com!not-for-mail From: "mark" Newsgroups: comp.lang.ada Subject: Re: Need a Sanity Check Date: 20 May 2005 13:08:15 -0700 Organization: http://groups.google.com Message-ID: <1116619695.361267.218380@g49g2000cwa.googlegroups.com> References: <1115772555.000422.205200@f14g2000cwb.googlegroups.com> <4288B9E2.2010109@adalog.fr> NNTP-Posting-Host: 199.46.200.230 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1116619700 28241 127.0.0.1 (20 May 2005 20:08:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 20 May 2005 20:08:20 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: g49g2000cwa.googlegroups.com; posting-host=199.46.200.230; posting-account=ZpK9OQ0AAAA-KMwv4NasH8UHTNEQgW0q Xref: g2news1.google.com comp.lang.ada:11108 Date: 2005-05-20T13:08:15-07:00 List-Id: "(but an accept statement cannot be called from within a protected subprogram or entry)." Is that a language restriction? Compiling using GNAT I get - warning: potentially blocking operation in protected operation when calling another tasks entry point from within a protected entry. I'm sure its not going to block based on the task it is calling has a single accept and is only called from this protected entry. The task called does nothing special besides dump a buffer to disk. Doing it this way just decouples the disk write from the rest of the system. So, is GNAT not enforcing language standards or is that really not part of the standard?