Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!amdahl!apple!han From: han@Apple.COM (Byron Han, Licensed To Dream) Newsgroups: comp.sys.mac.programmer Subject: Re: INITs Message-ID: <13630@apple.Apple.COM> Date: 10 Jul 88 00:58:59 GMT References: <278@hodge.UUCP> Reply-To: han@apple.apple.com.UUCP (Byron Han, Licensed To Dream) Organization: Communications Product Development - Apple Computer, Inc. Lines: 27 In article <278@hodge.UUCP> adail@pnet06.cts.com (Alan Dail) writes: >I amcurrently writing an INIT that installs abackground reotine by patching >System Task. This routine could potentially need a large amount of RAM. Is >there any way to make the System Heap grow to help ensure that this memory >will be available when needed? Also, I still would like to know if SystemTask >is allowed to allocate/move memory. > Regarding growing the system heap at INIT time... read V-352 backround tasks should probably be installed as a VBL at boot time. you are not guaranteed to have SystemTask called on a regular basis. The system heap can typically not be grown past boot time. SystemTask will give time to desk accessories which may move memory so I do not see any reason why SystemTask cannot allocate/move memory. ------------------------------------------------------------------------------ Byron Han, Licensed to Dream. One Person, One Macintosh. Apple Computer, Inc. ------------------------------------- 20525 Mariani Ave, MS27Y domain: han@apple.COM Cupertino, CA 95014 UUCP:{sun,voder,nsc,decwrl}!apple!han -------------------------------------- GENIE: BYRONHAN ATTnet: 408-973-6450 Applelink: HAN1 CompuServe: 72167,1664 ------------------------------------------------------------------------------