Re: SCO: "thread creation is about a thousand times faster than on

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Aug 28 2000 - 17:45:55 EDT

  • Next message: Russell King: "Patch: x86 makefiles and assembly rules"

    > In the POSIX spec fork demolishes all threads in the child. This is the
    > only sensible answer and it seems wasteful to ignore the rare sensible
    > parts of the POSIX spec. I think exec should do the same thing: calling
    > thread should die and be replaced by a thread/process that is not in the
    > thread group since it no longer shares memory.

    It isnt a sensible answer. Think about a threaded web server firing off
    cgi scripts. You should probably kill those with the same mm. Especially if
    you have an unclone(CLONE_MM) since you can then unshare the VM for a thread
    and exec stuff off it

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



    This archive was generated by hypermail 2b29 : Mon Aug 28 2000 - 17:54:57 EDT