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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!r13g2000vbr.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Pseudo code for Ada tasking Date: Wed, 6 May 2009 13:32:38 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <6f56afa9-0b03-4371-b1f0-fda90b77be6f@z23g2000prd.googlegroups.com> <01a80781-90fa-4afb-a911-5994561e6323@l5g2000vbc.googlegroups.com> NNTP-Posting-Host: 82.20.239.89 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1241641958 10111 127.0.0.1 (6 May 2009 20:32:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 6 May 2009 20:32:38 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r13g2000vbr.googlegroups.com; posting-host=82.20.239.89; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:5716 Date: 2009-05-06T13:32:38-07:00 List-Id: On May 6, 9:00=A0pm, Martin wrote: > On May 6, 4:18=A0am, Adrian Hoe wrote: > > > Hi, > > > I am wondering, is there any reference or example about writing pseudo > > code for Ada tasking? > > > Also, how can I model Ada tasking with a diagram? > > > Thanks. > > -- > > Adrian Hoe Raymond Buhr wrote a (very expensive!) book 'System Design with Ada' (Prentice Hall 1984) notable for a complete diagrammatic representation of Ada (83, of course) tasking which to my mind was more complicated than the Ada language. > ASGs (Ada Structure Graphs) were the natural diagram for this but I > don't know of a tool that supports then apart from Teamwork which has > long gone. > > In UML, a statechart comes close. There are professional tools that > can produce Ada code from this (for instance, Rhapsody in Ada (from > iLogix, then Telelogic, now IBM-Rational). 'professional'? There are commercial tools as above, and there are open-source tools (not sure whether Umbrello can do this, but ColdFrame http://coldframe.sourceforge.net/coldframe/ certainly can). In any case, tasking and state machines don't necessarily go and-in- hand. --S