[lkml]   [2002]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] thread-exec-2.5.34-B1, BK-curr

On Sun, 15 Sep 2002, Linus Torvalds wrote:

> > i dont like those semantics either - will verify whether thread-specific
> > exec() works via a helper thread (or vfork) - it really should.
> As long as it works with something sane (and vfork() is sane), I'm happy
> with the posix behaviour by default. [...]

yes - the default case is very similar to that: exec() works for a
1-member thread_group, otherwise i couldnt have booted the kernel.

> [...] After all, the execve() really _does_ need to "de-thread" anyway,
> and if we need to make that explicit (with the vfork()) then that's
> fine.

ok. libpthreads uses an internal clone() for posix_spawn() [which does
what your example illustrates] which should be a tad faster than vfork() -
but vfork() should work just as well.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.047 / U:4.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site