[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-tech-kern
Subject: Re: rfork(2) needed for making Wine work
From: Christoph Hellwig <hch () infradead ! org>
Date: 2001-05-17 16:17:40
[Download RAW message or body]
On Thu, May 17, 2001 at 08:30:09AM -0700, Jason R Thorpe wrote:
> On Thu, May 17, 2001 at 10:15:32PM +0900, Bang Jun-Young wrote:
>
> > I'm on the final stage of getting Wine working on NetBSD: thread.
> > For now, I have no idea how to implement native thread support,
> > so I am considering importing rfork(2) from FreeBSD.
> >
> > Any idea or comments would be welcome,
>
> Please do not import rfork(2) from FreeBSD. The rfork(2) interface is
> pretty much broken (the name is poorly chosen -- rfork(2) is from Plan9,
> and it doens't implement the original Plan9 semantics).
>
> If you're going to do anything like this, please add a __clone(2) a'la
> Linux.
The Linux kernel does _not_ have a __clone syscall - that's a libc wrapper
for clone(2). I have to admit that the manpage is rather confusing, though...
Christoph
--
Whip me. Beat me. Make me maintain AIX.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic