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,d495ab2e69ad1962 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!50g2000hsm.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Ravenscar-compliant bounded buffer Date: Fri, 07 Sep 2007 12:44:59 -0700 Organization: http://groups.google.com Message-ID: <1189194299.326741.151840@50g2000hsm.googlegroups.com> References: <1188914005.607732.277400@57g2000hsv.googlegroups.com> <1189113180.100290.51880@50g2000hsm.googlegroups.com> <70bEi.74312$ax1.41120@bgtnsc05-news.ops.worldnet.att.net> NNTP-Posting-Host: 85.3.98.174 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1189194299 855 127.0.0.1 (7 Sep 2007 19:44:59 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 7 Sep 2007 19:44:59 +0000 (UTC) In-Reply-To: <70bEi.74312$ax1.41120@bgtnsc05-news.ops.worldnet.att.net> 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: 50g2000hsm.googlegroups.com; posting-host=85.3.98.174; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:1803 Date: 2007-09-07T12:44:59-07:00 List-Id: On 7 Wrz, 13:56, a...@anon.org (anon) wrote: > 2) Is defined in the GNAT manual as an obsolete feature, that is > using the "pragma No_Run_Time ;", but still works. In this > version, the user must supply the RTS subsystem that the > program requires. Interesting, but IO is easy. What about multitasking? What kind of RTS needs to be supplied for tasks to work correcly? > /* ----------- */ > /* put_line.c */ > /* ----------- */ > #include > > /* put_line -- run-time subsystem procedure */ > void put_line ( value ) > char * value ; > { > printf ( "%s\n", value ) ; > } > /* --eof-- */ Note that this requires the C run-time instead. It might be smaller/ faster, but still it is not No_Run_Time in the strict sense. You might need to really use the basic OS services directly to claim "no run- time" program. Or even forget about OS, the No_Run_Time option is most likely intended for those who program hardware directly. > If your in class this might turn into > an extra assignment or it could be used in a later course. No, I'm not "in class". :-) -- Maciej Sobczak http://www.msobczak.com/