comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adambeneschan@gmail.com>
Subject: Re: Calling execve() C function from an Ada task
Date: Wed, 2 Jul 2014 18:05:36 -0700 (PDT)
Date: 2014-07-02T18:05:36-07:00	[thread overview]
Message-ID: <b059f6e0-75dd-4668-aaac-0a7122d1f3b6@googlegroups.com> (raw)
In-Reply-To: <lon0bs$2ed$1@speranza.aioe.org>

On Saturday, June 28, 2014 11:09:04 AM UTC-7, Victor Porton wrote:
> Does calling execve() C function from an Ada task does what is expected?

It depends on what you expect it to do.  I'd expect it to immediately terminate your program (and all tasks) without doing any cleanup or finalization, before executing the new program.  This is probably not what I *want* my program to do, but it's what I'd expect calling execve() to do.  Whatever it does, it sounds like a recipe for disaster.

                              -- Adam


      reply	other threads:[~2014-07-03  1:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-28 18:09 Calling execve() C function from an Ada task Victor Porton
2014-07-03  1:05 ` Adam Beneschan [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