comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos" <david.c.hoos.sr@ada95.com>
Subject: Re: creating processes
Date: Sun, 15 Feb 2004 14:37:15 -0600
Date: 2004-02-15T14:37:15-06:00	[thread overview]
Message-ID: <LHQXb.685$fE4.515@bignews5.bellsouth.net> (raw)
In-Reply-To: 5f59677c.0402141500.7032553e@posting.google.com

Since Spawn blocks until the process completes execution, and
does not return a Process_ID, it makes no sense to provide a
mechanism to kill such a process.

Instead, you should use the Non_Blocking_Spawn function, and
then use a Pragma_Import of kill to send whatever signal to
the Process_ID returned by the Non_Blocking_Spawn call.

"Evangelista Sami" <evangeli@cnam.fr> wrote in message
news:5f59677c.0402141500.7032553e@posting.google.com...
> Hello all
>
> i have gnat 3.15p.
> i have seen there are procedures and functions in gnat.os_lib to spawn
> processes, wait for processes... is there a way to kill a process
> previously created by a spawn call?
>
> Sami Evangelista
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada-france.org
> http://www.ada-france.org/mailman/listinfo/comp.lang.ada
>
>




      reply	other threads:[~2004-02-15 20:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-14 23:00 creating processes Evangelista Sami
2004-02-15 20:37 ` David C. Hoos [this message]
replies disabled

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