[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/usr.bin/tic
On 05/05/2017 10:59, Robert Elz wrote:
> Date: Fri, 5 May 2017 09:07:14 +0100
> From: Roy Marples <roy%marples.name@localhost>
> Message-ID: <e8c885a5-7e64-4f52-71f6-e5ed03ba5b89%marples.name@localhost>
> | As we know, parts of NetBSD code are used outside of NetBSD.
> Of course, and if there are any of those for which calling exit() does
> not free all resources that have been allocated by the program, they
> should be fixed first.
In this case, exit() isn't called, the main function returns.
In the RTEMS case, everything runs in one process and a thread is
launched for each command, sharing memory thus exit() can never be called.
> Program bugs are unavoidable (at least we have not yet found any way to
> prevent them) - that's bad enough - but allowing bugs in a program to
> affect the system long after the program has terminated is intolerable.
In this specific case, the program hasn't actually finished.
So my question stands, is this something we should support via a compile
time guard or just not bother?
Main Index |
Thread Index |