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


On Sun, Feb 25, 2018 at 3:59 AM, Florian Weimer <fw@deneb.enyo.de> wrote:
> * H. J. Lu:
>
>> On Sun, Feb 25, 2018 at 1:26 AM, Florian Weimer <fw@deneb.enyo.de> wrote:
>>> * H. J. Lu:
>>>
>>>> What have I done wrong?
>>>
>>> My understanding (shared by Carlos as far as I know) is that you do
>>> not need to restore the shadow stack pointer when unwinding for
>>> cancellation or thread exit.
>>
>> It may be true for thread exit.  Are you saying that a function will never
>> return after cancellation point?
>
> That's certainly the intent.  Cancellation is supposed to be
> unstoppable.

The question is what happens after cancellation.  Can a function return
after cancellation?

-- 
H.J.


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