[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] SIGPWR



Hi!

On Tue, Oct 26, 1999 at 07:24:52PM +0200, Michael Schwingen wrote:
> This could work when memory protection is active, so it might be a good idea
> to have at least a signal number for that case.

But only for programs that can have a detached bs segment, i.e. one
that can be placed on the boundary of a page, not directly after the
data segment. And even then you don't know how much of this bss is used
for the stack and how much for static variables, so it's hard to tell
when the stack has actually grown too much (or better: When it has grown
so much that a memory violation is triggered, a lot of local variables
have already been overwritten, and thus it's unlikely the process hadn't
crashed before).


Ciao

Thomas


-- 
Thomas Binder (Gryf @ IRCNet)  gryf@hrzpub.tu-darmstadt.de
PGP-key available on request!  binder@rbg.informatik.tu-darmstadt.de
Vote against SPAM:             http://www.politik-digital.de/spam/

Attachment: pgpxUtX1B_eE9.pgp
Description: PGP signature