Re: [patch] thread-exec-2.5.34-B1, BK-curr

Linus Torvalds (torvalds@transmeta.com)
Sun, 15 Sep 2002 11:32:22 -0700 (PDT)


On Sun, 15 Sep 2002, Ingo Molnar wrote:
>
> the attached patch (against BK-curr + all my previous patches) implements
> one of the last missing POSIX threading details - exec() semantics.

Ingo, can you create a test-case to verify that a new-style thread can
sanely do

if (!vfork())
execve();
thread_exit();

which leaves the other threads alive and well and is reasonably
efficient..

I don't personally much like the POSIX execve() behaviour, and I'd like to
make sure that it can be avoided for cases where that makes sense (ie a
threaded app that wants to start some other helper program should be able
to do so).

Linus

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