comp.lang.ada
 help / color / mirror / Atom feed
* Simulation in Ada
@ 1987-02-09 16:39 Dennis.Cornhill
  0 siblings, 0 replies; only message in thread
From: Dennis.Cornhill @ 1987-02-09 16:39 UTC (permalink / raw)


We are in the process of writing a set of Ada packages that emulate
Simscript functionality.  The job is not too tough, I expect that
we will have a pretty good emulation with about 1500 lines of
source code. 

A simulation is written as a sequential Ada program and Simscript
processes are written as procedures.  The discrete event dispatcher
is a task, and it creates an agent task for each process which
invokes the process when its time arrives.  Process context
switching is implemented by rendezvous between the agents (clients)
and the dispatcher (server).  The emulation makes very heavy use of
generics and is a pretty good test of a compiler's ability
to deal with generics.

We intend to use the Simscript emulation in place of Simscript for
evaluating scheduling algorithms.

I have documentation on what we are building.  Send me mail if you
want more information.  Please include a telephone number in case I
am unable to respond to you over the net.

Dennis Cornhill

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1987-02-09 16:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1987-02-09 16:39 Simulation in Ada Dennis.Cornhill

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