🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #9049

Re: memory management.

#9049
From: Stuart H. Ferguson
Date: Tue, 07 Jun 1988 18:14
13 lines
954 bytes
Michael Portuesi asks about what to do when AllocMem() returns NULL -- is there
enough memory to put up a requester?

Answer: Not necessarily.

More useful answer: When this happens, use an Intuition AutoRequest to notify
the user of the condition.  The AutoRequest function will use a window for the
request if there is enough memory to do that, or it will use an ALERT if there
is not enough memory.  If it can't put up an alert, you're really in trouble.
-- 
		Stuart Ferguson		(shf@well.UUCP)
		Action by HAVOC		(shf@Solar.Stanford.EDU)
Technical Details
Message-ID: <6187@well.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!mtunx!rutgers!cmcl2!nrl-cmf!ames!lll-lcc!well!shf
References: <gWcglzy00UoNI0akVi@andrew.cmu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!mtunx!rutgers!cmcl2!nrl-cmf!ames!lll-lcc!well!shf
From: shf@well.UUCP (Stuart H. Ferguson)
Newsgroups: comp.sys.amiga.tech
Subject: Re: memory management.
Message-ID: <6187@well.UUCP>
Date: 7 Jun 88 18:14:29 GMT
References: <gWcglzy00UoNI0akVi@andrew.cmu.edu>
Reply-To: shf@well.UUCP (Stuart H. Ferguson)
Organization: The Blue Planet
Lines: 13