Re: SIGRTMIN, F_SETOWN(-getpgrp()) and threads

Alex Riesen (alexander.riesen@synopsys.COM)
Tue, 29 Apr 2003 14:08:14 +0200


Lamont Granquist, Tue, Apr 29, 2003 01:34:21 +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);
...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/