On Sun, Aug 27, 2000 at 08:06:40PM -0700, Linus Torvalds wrote:
> The fork'ed child not having any threads is the only sane semantics. After
> all, it was just one thread that asked for a fork(), so it is only _that_
> thread that gets copied. Anything else would be strange, to say the least.
>
> Execve() is basically the same thing. Only one thread asked for the
> execve(), so obviously only one thread is actually involved in it.
The beauty of POSIX 1003.13 for the RTLinux side is that we get to
define POSIX_SINGLE_PROCESS and forbid forbid fork and exec: making
threads semantics much cleaner.
-
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 : Thu Aug 31 2000 - 21:00:20 EST