This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __cxa_allocate_exception (and thus throw) is not async-signal-safe


On 01/10/16 17:10 +0200, Florian Weimer wrote:
It would be nice to be able to use exception-throwing functions in a
signal handler, catching them before the handler is left.  However,
this is not possible because __cxa_allocate_exception calls malloc.

Have alternative implementation approaches ever been considered?

Not that I'm aware of, but maybe before my time.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]