OpenAmiga (366/959)

From:Aaron Optimizer Digulla
Date:8 Aug 2000 at 18:24:49
Subject:fork() (Was: Re: AMIOPEN: ave_open())

On Tue, Aug 08, 2000 at 09:50:14AM -0700, Patrick Roberts wrote:

> Just to add to your description of what fork() does, and one of the main
> reasons I use fork() is that the child and parent process share memory until
> one does a write, then only the page that the process writes to is copied and
> tracked. This is great for anything wanting to take advantage of multi-proc
> set-ups as the performance increase is much faster than using threads. At
> least this is how it works in Linux and IRIX.

:-/ How about using mmap() for this ?



==============================================
Sowatec AG, CH-8330 Pf�ffikon (ZH)
Witzbergstr. 7, http://www.sowatec.com
Tel: +41-(0)1-952 55 55
Fax: +41-(0)1-952 55 66
----------------------------------------------
Aaron "Optimizer" Digulla, digulla@sowatec.com
==============================================
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html