Subject: Re: NetBSD fork1() vs. Linux do_fork()
To: Miao Qingjun <qjmiao@yahoo.com>
From: Anders Dinsen <anders@dinsen.net>
List: tech-kern
Date: 02/13/2001 23:36:22
On Mon, 12 Feb 2001, Miao Qingjun wrote:
> Since NetBSD fork1() has similar functionalities as
> Linux do_fork(), can we implement native kernel
> thread library on NetBSD just like LinuxThreads
> do using clone() syscall? Or there is already
> such one?
Yes, the Linux compatibility mode has a clone() system call.
See /sys/compat/linux/common/linux_sched.c
--
Anders Dinsen
anders@dinsen.net
http://dinsen.net/anders/