Article View: comp.sys.amiga.tech
Article #13993Re: A REAL fork() function (was Re: SKsh weirdness)
From: Patrick John Horgan
Date: Fri, 02 Mar 1990 03:45
Date: Fri, 02 Mar 1990 03:45
10 lines
1089 bytes
1089 bytes
I suspect that malloc is faster than AllocMem because c is managing it's own heap it AllocMem'd earlier. Of course malloc has to manage it's heap just the same as the Exec has to manage the Amiga's. A typical c sort of heap management is something that's been studied extensively in the universities, and you can find references to tell you optimum ways of doing it. Another point is that the Amiga has to worry about the (slightly) greater overhead of the memory type you are requesting. Patrick Horgan phorgan@cup.portal.com
Technical Details
Message-ID:
<27448@cup.portal.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!brutus.cs.uiuc.edu!apple!sun-barr!newstop!sun!imagen!atari!portal!portal!cup.portal.com!phorganReferences:
<DEVEN.90Feb22133919@netserv2.rpi.edu> <13920050@hpfelg.HP.COM> <22496@pasteur.Berkeley.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!brutus.cs.uiuc.edu!apple!sun-barr!newstop!sun!imagen!atari!portal!portal!cup.portal.com!phorgan From: phorgan@cup.portal.com (Patrick John Horgan) Newsgroups: comp.sys.amiga.tech Subject: Re: A REAL fork() function (was Re: SKsh weirdness) Message-ID: <27448@cup.portal.com> Date: 2 Mar 90 03:45:53 GMT References: <DEVEN.90Feb22133919@netserv2.rpi.edu> <13920050@hpfelg.HP.COM> <22496@pasteur.Berkeley.EDU> Organization: The Portal System (TM) Lines: 10