From: Oleg Nesterov <oleg@tv-sign.ru>
To: Roland McGrath <roland@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Austin Clements <amdragon+kernelbugzilla@mit.edu>,
Ingo Molnar <mingo@elte.hu>, john stultz <johnstul@us.ibm.com>,
Michael Kerrisk <mtk.manpages@googlemail.com>,
Thomas Gleixner <tglx@linutronix.de>,
linux-kernel@vger.kernel.org
Subject: Re: [RFC,PATCH 2/2] posix timers: don't discard the signal if the timer was explicitly destroyed
Date: Tue, 22 Apr 2008 22:48:31 +0400 [thread overview]
Message-ID: <20080422184831.GA105@tv-sign.ru> (raw)
In-Reply-To: <20080422190849.6443E270381@magilla.localdomain>
On 04/22, Roland McGrath wrote:
>
> > I am not sure this patch is really needed, please review.
>
> I don't think this is worth doing.
>
> > The previous patch adds the user-visible change. It is not clear to me why
> > should we cancel the pending signal sent by the timer after timer_delete().
> > Suppose the signal is blocked, pending, the user checks sys_rt_sigpending(),
> > destroys the timer and then doesn't see the signal.
>
> So? POSIX says it's unspecified what happens to such a signal,
Ah, good!
> so an
> application can't rely on it one way or the other. I don't see any reason
> to complicate it further.
Agreed, please ignore this patch.
Thanks! I really hoped you will nack this, I hate the additional complications
too.
Oleg.
prev parent reply other threads:[~2008-04-22 19:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-22 15:38 Oleg Nesterov
2008-04-22 19:08 ` Roland McGrath
2008-04-22 18:48 ` Oleg Nesterov [this message]
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=20080422184831.GA105@tv-sign.ru \
--to=oleg@tv-sign.ru \
--cc=akpm@linux-foundation.org \
--cc=amdragon+kernelbugzilla@mit.edu \
--cc=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mtk.manpages@googlemail.com \
--cc=roland@redhat.com \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®