From: "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org>
Subject: Re: How to spawn, fork, and exec within Ada (Do you have small example program)
Date: Tue, 27 Jun 2006 20:50:11 GMT
Date: 2006-06-27T20:50:11+00:00 [thread overview]
Message-ID: <7Sgog.7437$FQ1.2806@attbi_s71> (raw)
In-Reply-To: <1151434435.502270.265470@m73g2000cwd.googlegroups.com>
Chris L wrote:
> These care routinely done in C/C++. How can they be done in Ada? Do you
> have a short program example of these?
The equivalent of spawn and fork are done by dynamically creating a
task. When you need to execute another program, that's done by calling
the OS, which is OS and compiler dependent. As an example, you can use
GNAT.OS_Lib if your compiler is GNAT (works on all platforms supported
by GNAT).
--
Jeff Carter
"Many times we're given rhymes that are quite unsingable."
Monty Python and the Holy Grail
57
next parent reply other threads:[~2006-06-27 20:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1151434435.502270.265470@m73g2000cwd.googlegroups.com>
2006-06-27 20:50 ` Jeffrey R. Carter [this message]
2006-06-27 21:03 ` How to spawn, fork, and exec within Ada (Do you have small example program) Ludovic Brenta
2006-06-28 13:53 ` Frank J. Lhota
2006-06-28 2:41 ` Steve
[not found] ` <1151501695.077579.108560@i40g2000cwc.googlegroups.com>
2006-06-28 15:56 ` Martin Krischik
2006-06-28 20:42 ` Frank
2006-06-29 2:02 ` Steve
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox