Re: THREAD_GROUP and linux thread

From: Jamie Lokier
Date: Mon Sep 08 2003 - 16:14:34 EST


Hua Zhong wrote:
> but I am just wondering if I could just change the kernel to treat
> CLONE_VM the same way as CLONE_THREAD which is a much simpler change.

No. There are a good many programs which use CLONE_VM without
CLONE_THREAD, and I'm sure they will be surprised to find signals
suddenly being shared, which is implied by CLONE_THREAD.

> 2. Which version of pthread uses the CLONE_THREAD flag?

NPTL.

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