RE: THREAD_GROUP and linux thread

From: Hua Zhong
Date: Mon Sep 08 2003 - 16:25:09 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

Thank you, that's exactly what I want to know.

> which is implied by CLONE_THREAD.

The most accurate description is "which is implied by thread_group
list"....

So I guess I'll live with having a separate list.

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