This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH 0/2] nptl: Update struct pthread_unwind_buf


* H. J. Lu:

> Let me rephrase.  Can a function, which contains cancellation points,
> return to its caller after cancellation happened?

I don't think it can.  It's undefined to use longjmp to jump out of a
cancellation handler.  On the C++ side, we make sure that the
unwinding always proceeds, even across catch (...) blocks which
swallow the exception.


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