comp.lang.ada
 help / color / mirror / Atom feed
* Calling execve() C function from an Ada task
@ 2014-06-28 18:09 Victor Porton
  2014-07-03  1:05 ` Adam Beneschan
  0 siblings, 1 reply; 2+ messages in thread
From: Victor Porton @ 2014-06-28 18:09 UTC (permalink / raw)


Does calling execve() C function from an Ada task does what is expected?

-- 
Victor Porton - http://portonvictor.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Calling execve() C function from an Ada task
  2014-06-28 18:09 Calling execve() C function from an Ada task Victor Porton
@ 2014-07-03  1:05 ` Adam Beneschan
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Beneschan @ 2014-07-03  1:05 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-03  1:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-28 18:09 Calling execve() C function from an Ada task Victor Porton
2014-07-03  1:05 ` Adam Beneschan

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