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,f3d27f1fefd7e554 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!19g2000hsx.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Blocking I/O and Ravenscar Date: Sat, 22 Sep 2007 14:17:20 -0700 Organization: http://groups.google.com Message-ID: <1190495840.472000.321860@19g2000hsx.googlegroups.com> References: <1190408890.068176.182160@n39g2000hsh.googlegroups.com> NNTP-Posting-Host: 85.3.64.98 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1190495840 23535 127.0.0.1 (22 Sep 2007 21:17:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 22 Sep 2007 21:17:20 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 19g2000hsx.googlegroups.com; posting-host=85.3.64.98; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:2090 Date: 2007-09-22T14:17:20-07:00 List-Id: On 22 Wrz, 06:31, "Jeffrey R. Carter" wrote: > > Basically, Ravenscar forbids any blocking operations except waiting on > > a protected entry or a suspension object. > I'm not sure where you got this idea; I don't recall any restrictions on > blocking by tasks. Hm... true, I cannot find anything like this in the profile. However, I have found the following: "Besides, the compliance to the Ravenscar Profile reduces the invocation call protocol set to the single asynchronous way." That was about communication between nodes in the distributed system, in "Generating Distributed High Integrity Applications from Their Architectural Description", which was presented at Reliable Software Technologies - Ada-Europe 2007 and printed in the proceedings. If we conclude that Ravenscar does not prohibit tasks from blocking on I/O, then the above statement has no foundations and nodes could safely block on two-way synchronous messages (these would be mapped to remote subprogram calls with [in] out parameters, which is according to this paper excluded). In short - can I explicitly block on two-way communication in a Ravenscar-compliant distributed system? -- Maciej Sobczak http://www.msobczak.com/