comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: Converting Ada Tasks To VxWorks Tasks?
Date: 2000/04/13
Date: 2000-04-13T00:00:00+00:00	[thread overview]
Message-ID: <8d5ivg$ho9$1@nnrp1.deja.com> (raw)
In-Reply-To: 1crJ4.142$d21.18564@elnws01

In article <1crJ4.142$d21.18564@elnws01>,
  "Michael Hartsough" <Michael-Hartsough@mediaone.net> 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.




  reply	other threads:[~2000-04-13  0:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-13  0:00 Converting Ada Tasks To VxWorks Tasks? Michael Hartsough
2000-04-13  0:00 ` Ted Dennison [this message]
2000-04-14  0:00   ` Robert A Duff
2000-04-14  0:00     ` Michael Hartsough
2000-04-14  0:00       ` Tucker Taft
2000-04-15  0:00         ` Michael Hartsough
2000-04-14  0:00   ` dale
2000-04-15  0:00     ` Robert Dewar
2000-04-14  0:00 ` Jeff Carter
2000-04-14  0:00   ` Michael Hartsough
2000-04-14  0:00     ` Ted Dennison
2000-04-14  0:00       ` Marin D. Condic
2000-04-14  0:00     ` Stanley R. Allen
2000-04-15  0:00       ` Michael Hartsough
2000-04-16  0:00         ` Robert Dewar
2000-04-16  0:00           ` Jeff Carter
2000-04-16  0:00           ` Michael Hartsough
2000-04-15  0:00     ` Jeff Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox