Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!ames!ncar!midway!daisy!francis From: francis@daisy.uchicago.edu (Francis Stracke) Newsgroups: comp.sys.mac.programmer Subject: Re: Shared memory Message-ID: <1990Nov26.191428.28440@midway.uchicago.edu> Date: 26 Nov 90 19:14:28 GMT References: <1CE00001.6q9i4t@tbomb.ice.com> Sender: news@midway.uchicago.edu (News Administrator) Organization: Mathematics Department, University of Chicago Lines: 22 In article <1CE00001.6q9i4t@tbomb.ice.com> time@tbomb.ice.com writes: > >In article <3171@cernvax.cern.ch>, marty@cernvax.cern.ch (hugues marty) writes: >> Is there a way of having shared memory? I don't want to use a driver. [...] >Second, you need to determine your memory requirements. If they are >very small ( < 2048 ) then you can usually the system heap space from >within an application, but if the requirements are large (> 4K), then >you will need some type of INIT to get the space at boot time. > >Third, if you wind up needing an INIT, you may as well write a driver! Why? The memory allocation can be done without code, using the 'sysz' resource. What else do you really need? (I suppose the INIT might have trouble writing a file... But maybe you could check through the system heap for a block of the right size containing some sort of signature your INIT had put in.) | Francis Stracke | My opinions are my own. I don't steal them.| | Department of Mathematics |=============================================| | University of Chicago | Until you stalk and overrun, | | francis@zaphod.uchicago.edu | you can't devour anyone. -- Hobbes |