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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dc89792b5613be6a X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Converting Ada Tasks To VxWorks Tasks? Date: 2000/04/13 Message-ID: <8d5ivg$ho9$1@nnrp1.deja.com>#1/1 X-Deja-AN: 610865895 References: <1crJ4.142$d21.18564@elnws01> X-Http-Proxy: 1.0 x22.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Thu Apr 13 22:50:30 2000 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; I) Date: 2000-04-13T00:00:00+00:00 List-Id: In article <1crJ4.142$d21.18564@elnws01>, "Michael Hartsough" wrote: > We have a large multi-tasking system in Ada (83) that my employer > wants to convert to C++ running on VxWorks. > > Things were going halfway decent until I realized that my approach > wasn't going to handle selects with guards, or conditional and timed > entry calls. > > I'm sure I've read that there are implementations of Ada running on > VxWorks, so a mapping must exist. Two or three. I believe Gnat, Green Hills AdaMulti, and ObjectAda all exist for vxWorks. Why don't you also include a cost comparison of converting to C++ on vxWorks vs. converting to Ada95 on vxWorks? I suspect your manager will be quite impressed at the difference. You can always write new code in his pet language-o-the-day and link it in. I can tell you from looking at the Windview logs that it looks like the Green Hills compiler handles task synchronization by using vxWorks semaphore objects. Perhaps that will help you look in the right direction. If you want to exactly clone all of Ada's tasking semantics, you'll have a big job ahead of you. For instance, I believe if you have a selective accept with multiple open and waiting accept alternatives, you have to *randomly* pick one to service. -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.