From owner-freebsd-hackers Sat Mar 20 20:21:36 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from pluto.ipass.net (pluto.ipass.net [198.79.53.5]) by hub.freebsd.org (Postfix) with ESMTP id 60BCB14C92; Sat, 20 Mar 1999 20:21:29 -0800 (PST) (envelope-from mmercer@ipass.net) Received: from ipass.net (ts4-11-ppp.ipass.net [207.120.205.11]) by pluto.ipass.net (8.9.1a/8.9.1) with ESMTP id XAA00437; Sat, 20 Mar 1999 23:20:58 -0500 (EST) Message-ID: <36F47446.E67A7602@ipass.net> Date: Sat, 20 Mar 1999 23:23:34 -0500 From: "Michael E. Mercer" Reply-To: mmercer@ipass.net X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: dyson@iquest.net Cc: samit@usa.ltindia.com, freebsd-current@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: rfork() References: <199903210412.XAA04326@y.dyson.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John, With very little experience in assembly, could you or someone else give me a small example? Thanks in advance, Michael Mercer "John S. Dyson" wrote: > > Michael E. Mercer said: > > Hello, > > > > This was posted to freebsd-questions with no reply. > > I tried this and the child process created a core file. > > I also tried the other options and they seem to work. > > Just RFPROC and RFMEM DON'T! > > > rfork(RFMEM) doesn't easily work from C. You need to > create an assembly stub. > > -- > John | Never try to teach a pig to sing, > dyson@iquest.net | it makes one look stupid > jdyson@nc.com | and it irritates the pig. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message