From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: Andreas Schwab <schwab@linux-m68k.org>,
Adhemerval Zanella via Libc-alpha <libc-alpha@sourceware.org>
Subject: Re: [PATCH] nptl: Use SA_RESTART for SIGCANCEL handler
Date: Thu, 17 Jun 2021 10:04:50 -0300 [thread overview]
Message-ID: <d63e0fc5-b22c-12fe-14d7-8a2e8299c978@linaro.org> (raw)
In-Reply-To: <877dismyma.fsf@igel.home>
On 17/06/2021 10:03, Andreas Schwab wrote:
> On Jun 17 2021, Adhemerval Zanella via Libc-alpha wrote:
>
>> diff --git a/nptl/pthread_cancel.c b/nptl/pthread_cancel.c
>> index 0698cd2046..cc25ff21f3 100644
>> --- a/nptl/pthread_cancel.c
>> +++ b/nptl/pthread_cancel.c
>> @@ -72,7 +72,11 @@ __pthread_cancel (pthread_t th)
>> {
>> struct sigaction sa;
>> sa.sa_sigaction = sigcancel_handler;
>> - sa.sa_flags = SA_SIGINFO;
>> + /* The signal handle should be non-interruptible to avoid the risk of
>
> The signal handler should be non-interrupting
Ack, I fixed it locally.
next prev parent reply other threads:[~2021-06-17 13:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-17 12:52 Adhemerval Zanella
2021-06-17 13:03 ` Andreas Schwab
2021-06-17 13:04 ` Adhemerval Zanella [this message]
2021-06-18 11:38 ` Florian Weimer
2021-06-22 18:30 ` Adhemerval Zanella
2021-06-22 18:33 ` Florian Weimer
2021-06-22 18:50 ` Adhemerval Zanella
2021-06-22 18:52 ` Florian Weimer
2021-06-22 19:50 ` Adhemerval Zanella
2021-06-22 19:51 ` Florian Weimer
2021-06-22 19:58 ` Adhemerval Zanella
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d63e0fc5-b22c-12fe-14d7-8a2e8299c978@linaro.org \
--to=adhemerval.zanella@linaro.org \
--cc=libc-alpha@sourceware.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).