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

From: Alex Riesen (alexander.riesen@synopsys.COM)
Date: Tue Apr 29 2003 - 07:08:14 EST


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/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:31 EST