From: Alex Riesen <alexander.riesen@synopsys.COM>
To: Lamont Granquist <lamont@scriptkiddie.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: SIGRTMIN, F_SETOWN(-getpgrp()) and threads
Date: Wed, 30 Apr 2003 11:15:52 +0200 [thread overview]
Message-ID: <20030430091552.GA10426@riesen-pc.gr05.synopsys.com> (raw)
In-Reply-To: <20030429131246.G90816-100000@uswest-dsl-142-38.cortland.com>
Lamont Granquist, Tue, Apr 29, 2003 22:14:22 +0200:
> > > I'm attempting to send SIGRTMIN to an entire pgrp composed of threads.
> > > I'm running into issues with the management thread getting this signal and
> > > dying because it is uncaught in that thread. Is there any way to make the
> > > management thread ignore this signal? (and i'm running linux 2.4.20-ish
> > > and glibc-2.2.4-19.3)
> > ignore it before pthreads are initialized?
> >
> > int main(int argc, char* argv[])
> > {
> > signal(SIGRTMIN, SIG_IGN);
> > ...
> That doesn't work. After the first pthread_create() if you raise() the
> signal again (even if you ignore it in the thread that you create) you'll
> still have the manager thread exit.
probably because it is used by pthreads for internal communication.
It's mentioned in 2.2.5 (at least) sources.
prev parent reply other threads:[~2003-04-30 9:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-08 1:33 some new remote kernel exploit? Jure Pecar
2003-04-08 11:59 ` Alan Cox
2003-04-28 23:34 ` SIGRTMIN, F_SETOWN(-getpgrp()) and threads Lamont Granquist
2003-04-29 12:08 ` Alex Riesen
2003-04-29 20:14 ` Lamont Granquist
2003-04-30 9:15 ` Alex Riesen [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=20030430091552.GA10426@riesen-pc.gr05.synopsys.com \
--to=alexander.riesen@synopsys.com \
--cc=lamont@scriptkiddie.org \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®