Re: 2.4.4: thread dumping core

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Aug 09 2001 - 10:08:19 EST


> I wonder whether the kernel does the right thing if a thread causes a
> segmentation violation: Currently it seems the other LWPs just
> continue. However in practice this means that the application does not

This is a feature in most cases

> I suggest to terminate all LWPs if one receives a fatal signal.

So write some signal handlers.

In all cases the other threads will continue for some time, so you gain
nothing by pretending they dont.

Alan
-
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 Aug 15 2001 - 21:00:26 EST