Subject: thread fork [was Re: NetBSD 2.0 release date]
To: Kamal R Prasad <kamalrpr@in.ibm.com>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: tech-kern
Date: 11/10/2003 14:12:56
Kamal R Prasad <kamalrpr@in.ibm.com> writes:
> I believe the fork() from a thread does not exhibit POSIX compliant
> behaviour.
> Pl. correct me if Im wrong.
To the best of my knowledge, the current implementation of fork() in a
thread is correct. How do you think it fails? The permitted behavior
of a child forked from a threaded process is quite limited, and it's
easy to invoke undefined behavior.
- Nathan