Date: Tue, 4 Jan 2000 20:26:47 -0600 From: "Richard Seaman, Jr." <dick@tar.com> To: Scott Hess <scott@avantgo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to use rfork(RFMEM) correctly. Message-ID: <20000104202647.A422@tar.com> In-Reply-To: <002501bf5722$afa4c920$1e80000a@avantgo.com>; from scott@avantgo.com on Tue, Jan 04, 2000 at 06:15:07PM -0800 References: <002501bf5722$afa4c920$1e80000a@avantgo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 04, 2000 at 06:15:07PM -0800, Scott Hess wrote: > Concise: Does anyone have a simple, self-contained example of using > rfork(RFMEM) to fork off a process that can share the parent process' > memory and file descriptors? "Simple" == doesn't take days to understand, Take a look at ports/devel/linuxthreads/files Check clone.S, and lclone.c. lclone.c shows how to call _clone() with BSD style flags. -- Richard Seaman, Jr. email: dick@tar.com 5182 N. Maple Lane phone: 262-367-5450 Chenequa WI 53058 fax: 262-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000104202647.A422>