Re: Core dumps for threads

davids (davids@webmaster.com)
Sun, 25 Feb 2001 16:36:17 -0800


> It does work, however. It effectively dumps the thread that caused the
> fault.

If you want that behavior, catch SIGSEGV, fork, and have the child
process (in which only the faulting thread exists) call abort.

DS

-
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/