bug-glibc
[Top][All Lists]
Advanced

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

Re: Is malloc signal-"tolerant"?


From: Wolfram Gloger
Subject: Re: Is malloc signal-"tolerant"?
Date: Sun, 23 Dec 2001 15:07:29 +0100 ("MET)

> IOW, the idea behind this is to allow memory operations on an error path
> that is strictly separate from a "useful work path" - and the error path
> will never merge with the work path again?

Only if you use siglongjmp().  When you return from the signal handler
'normally', everything should be fine.

> In a sense this means that the error path (entered from a longjmp() out
> of a signal handler) will have to invariably lead to program
> termination?

In most cases I'd say so, yes.

Regards,
Wolfram.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]