comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: How to spawn, fork, and exec within Ada (Do you have small example program)
Date: Wed, 28 Jun 2006 17:56:23 +0200
Date: 2006-06-28T17:56:23+02:00	[thread overview]
Message-ID: <3213718.xemr02fEjO@linux1.krischik.com> (raw)
In-Reply-To: 1151501695.077579.108560@i40g2000cwc.googlegroups.com

Chris L wrote:

> 
> Steve wrote:
>> The answer is the same: you may be able to do it, but you probably don't
>> really want to.  There are other ways of achieving the same functionality
>> that are a lot easier.
> 
> Could you elaborate with an example? Do you mean use one process
> instead of a parent child pair of processies?

Depends in what you want to archive. Ada has build in support for threads
(called task in Ada and lightweight processes in unix) - so unless you want
to start "/bin/ls" or "/bin/sh" you might be better off using tasks instead
of processes.

If you still need processes then AdaCL [1] has the needed support.

Martin

[1] http://adacl.sf.net
-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com



  parent reply	other threads:[~2006-06-28 15:56 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 ` How to spawn, fork, and exec within Ada (Do you have small example program) Jeffrey R. Carter
2006-06-27 21:03 ` 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 [this message]
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